Jake Vanderwerf
2026-01-20 7a9054bb3f033c98067b3196378311dae54c5fbf
inc/rest/routes/AdminRoutes.php
@@ -393,7 +393,6 @@
        $key = $this->cache->generateKey($args);
        $cache = $this->cache->get($key);
        $cache = false;
        if ($cache) {
            return new WP_REST_Response($cache);
        }
@@ -599,13 +598,12 @@
        $query = new WP_Query($args);
        $items = array_map([$this, 'formatItem'], $query->posts);
        $results = [
            'items'         => $items,
            'has_more'      => $query->max_num_pages > $args['paged'],
            'total_items'   => $query->found_posts,
            'total_pages'   => $query->max_num_pages
        ];
        return $results;
      return [
         'items'         => $items,
         'has_more'      => $query->max_num_pages > $args['paged'],
         'total_items'   => $query->found_posts,
         'total_pages'   => $query->max_num_pages
      ];
    }
    /**