From f57bafa6e26192a10e889b201e7dc537cdafc756 Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Tue, 18 May 2021 16:31:21 -0400 Subject: [PATCH] Remove custom page limit --- lib/class-wp-rest-pattern-directory-controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/class-wp-rest-pattern-directory-controller.php b/lib/class-wp-rest-pattern-directory-controller.php index d0dd06042e118f..c42c4e8422a11b 100644 --- a/lib/class-wp-rest-pattern-directory-controller.php +++ b/lib/class-wp-rest-pattern-directory-controller.php @@ -84,7 +84,7 @@ public function get_items_permissions_check( $request ) { // phpcs:ignore Variab * @return WP_Error|WP_REST_Response Response object on success, or WP_Error object on failure. */ public function get_items( $request ) { - $query_args = array( 'per_page' => 100 ); + $query_args = array(); $category_id = $request['category']; $keyword_id = $request['keyword']; $search_term = $request['search'];