fix phpcs issue
This commit is contained in:
parent
d5dac9699a
commit
35b2a9512e
1 changed files with 1 additions and 0 deletions
|
@ -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 );
|
||||||
|
|
Loading…
Reference in a new issue