From 35b2a9512ef98e8a26a8089b908ae6a365e6dc6f Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Tue, 6 Dec 2022 22:18:14 +0100 Subject: [PATCH] fix phpcs issue --- includes/rest/class-outbox.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/rest/class-outbox.php b/includes/rest/class-outbox.php index ad38f8d..749a6cb 100644 --- a/includes/rest/class-outbox.php +++ b/includes/rest/class-outbox.php @@ -74,6 +74,7 @@ class Outbox { $json->type = 'OrderedCollectionPage'; $json->partOf = \get_rest_url( null, "/activitypub/1.0/users/$user_id/outbox" ); // phpcs:ignore + // phpcs:ignore $json->totalItems = 0; foreach ( $post_types as $post_type ) { $count_posts = \wp_count_posts( $post_type );