Fix sending posts to at most ten instances (#588)

This commit is contained in:
Sam Lade 2023-12-02 09:58:19 +00:00 committed by GitHub
parent c3a18d72dd
commit ca9e71ffc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -267,6 +267,7 @@ class Followers {
// get all Followers of a ID of the WordPress User
$posts = new WP_Query(
array(
'nopaging' => true,
'post_type' => self::POST_TYPE,
'fields' => 'ids',
// phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query