From ca9e71ffc1212c9e1ea7431eb3cbbb63add9a339 Mon Sep 17 00:00:00 2001 From: Sam Lade Date: Sat, 2 Dec 2023 09:58:19 +0000 Subject: [PATCH] Fix sending posts to at most ten instances (#588) --- includes/collection/class-followers.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/collection/class-followers.php b/includes/collection/class-followers.php index 6831f3b..8f2274d 100644 --- a/includes/collection/class-followers.php +++ b/includes/collection/class-followers.php @@ -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