Skip to content

Commit

Permalink
Merge pull request #710 from GatherPress/fix-last-render
Browse files Browse the repository at this point in the history
Fix last render issue.
  • Loading branch information
mauteri authored Jun 27, 2024
2 parents 3004356 + fd2dc5f commit 89f21fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/blocks/online-event/render.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
* @since 1.0.0
*/

// Exit if accessed directly.
defined( 'ABSPATH' ) || exit; // @codeCoverageIgnore

use GatherPress\Core\Event;

if ( ! isset( $attributes ) || ! is_array( $attributes ) ) {
Expand Down
3 changes: 3 additions & 0 deletions src/blocks/online-event/render.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
* @since 1.0.0
*/

// Exit if accessed directly.
defined( 'ABSPATH' ) || exit; // @codeCoverageIgnore

use GatherPress\Core\Event;

if ( ! isset( $attributes ) || ! is_array( $attributes ) ) {
Expand Down

0 comments on commit 89f21fa

Please sign in to comment.