inc/rest/routes/ContentRoutes.php
@@ -399,7 +399,7 @@ // Search term is already in $args['s'] from earlier // Get all taxonomies registered to this post type $taxonomies = get_object_taxonomies($this->post_type, 'names'); $taxonomies = get_object_taxonomies($this->post_type); if (empty($taxonomies)) { return $args;