fix phpcs issue

This commit is contained in:
Matthias Pfefferle 2022-12-06 22:18:14 +01:00
parent d5dac9699a
commit 35b2a9512e

View file

@ -74,6 +74,7 @@ class Outbox {
$json->type = 'OrderedCollectionPage'; $json->type = 'OrderedCollectionPage';
$json->partOf = \get_rest_url( null, "/activitypub/1.0/users/$user_id/outbox" ); // phpcs:ignore $json->partOf = \get_rest_url( null, "/activitypub/1.0/users/$user_id/outbox" ); // phpcs:ignore
// phpcs:ignore
$json->totalItems = 0; $json->totalItems = 0;
foreach ( $post_types as $post_type ) { foreach ( $post_types as $post_type ) {
$count_posts = \wp_count_posts( $post_type ); $count_posts = \wp_count_posts( $post_type );