diff --git a/includes/plugins/class-eventprime.php b/includes/plugins/class-eventprime.php index 17a944e..e5fb8d6 100644 --- a/includes/plugins/class-eventprime.php +++ b/includes/plugins/class-eventprime.php @@ -205,8 +205,7 @@ final class EventPrime extends Event_Plugin { if ( $activitypub_template ) { global $post; - // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited - $post = get_post( $post_id ); + $post = get_post( $post_id ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited // Ensure WordPress functions use the new post data. setup_postdata( $post );