From 23f415b401f666457317fe73471d71320985682c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Sun, 15 Dec 2024 16:23:37 +0100 Subject: [PATCH] phpcs --- includes/activitypub/transmogrifier/class-gatherpress.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/includes/activitypub/transmogrifier/class-gatherpress.php b/includes/activitypub/transmogrifier/class-gatherpress.php index 652e041..d30eefb 100644 --- a/includes/activitypub/transmogrifier/class-gatherpress.php +++ b/includes/activitypub/transmogrifier/class-gatherpress.php @@ -450,8 +450,6 @@ class GatherPress { $post_id = wp_insert_post( $args ); } - - if ( ! $post_id || is_wp_error( $post_id ) ) { return; }