We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5dac96 commit 35b2a95Copy full SHA for 35b2a95
includes/rest/class-outbox.php
@@ -74,6 +74,7 @@ public static function user_outbox_get( $request ) {
74
$json->type = 'OrderedCollectionPage';
75
$json->partOf = \get_rest_url( null, "/activitypub/1.0/users/$user_id/outbox" ); // phpcs:ignore
76
77
+ // phpcs:ignore
78
$json->totalItems = 0;
79
foreach ( $post_types as $post_type ) {
80
$count_posts = \wp_count_posts( $post_type );
0 commit comments