Add Event plugin integration: EventPrime #82

Merged
linos merged 11 commits from eventprime into main 2024-11-28 19:01:28 +01:00
Showing only changes of commit ed236a70c5 - Show all commits

View file

@ -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 );