Skip to content

Commit

Permalink
Slightly improve query
Browse files Browse the repository at this point in the history
  • Loading branch information
obenland committed Jan 20, 2025
1 parent f3e6f81 commit 60b8eba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions includes/rest/class-outbox-controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,8 @@ public function get_items( $request ) {
'compare' => 'NOT EXISTS',
),
array(
'key' => 'activitypub_content_visibility',
'value' => array( ACTIVITYPUB_CONTENT_VISIBILITY_QUIET_PUBLIC, ACTIVITYPUB_CONTENT_VISIBILITY_LOCAL ),
'compare' => 'NOT IN',
'key' => 'activitypub_content_visibility',
'value' => ACTIVITYPUB_CONTENT_VISIBILITY_PUBLIC,
),
),
),
Expand Down

0 comments on commit 60b8eba

Please sign in to comment.