Plugin Directory

Changeset 3295018


Ignore:
Timestamp:
05/16/2025 09:10:25 PM (11 months ago)
Author:
galbc
Message:

Release version 1.0.24

Location:
sapientseo
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • sapientseo/tags/1.0.24/inc/api/posts.php

    r3293679 r3295018  
    232232    $offset   = intval($request->get_param('offset') ?? 0);
    233233    $per_page = $request->get_param('per_page');
    234     $per_page = is_numeric($per_page) && intval($per_page) > 0 ? intval($per_page) : -1; // -1 means all
     234    $per_page = is_numeric($per_page) && intval($per_page) > 0 ? intval($per_page) : -1;
    235235
    236236    $args = [
     
    241241        'orderby'                => 'modified',
    242242        'order'                  => 'DESC',
    243         'no_found_rows'          => true,
     243        'no_found_rows'          => false, // needed to get found_posts
    244244        'cache_results'          => false,
    245245        'update_post_meta_cache' => false,
     
    266266
    267267    return rest_ensure_response([
    268         'count'  => count($posts),
     268        'count'  => count($posts),         // number of posts in this call
     269        'total'  => $query->found_posts,   // total number of matching posts
    269270        'offset' => $offset,
    270271        'posts'  => $posts,
  • sapientseo/tags/1.0.24/readme.txt

    r3293679 r3295018  
    44Tested up to: 6.8
    55Requires PHP: 7.4
    6 Stable tag: 1.0.23
     6Stable tag: 1.0.24
    77License: GPLv2 or later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
  • sapientseo/tags/1.0.24/sapientseo.php

    r3293679 r3295018  
    33 * Plugin Name: SapientSEO
    44 * Description: Connect your WordPress site to SapientSEO using secure custom REST API endpoints.
    5  * Version: 1.0.23
     5 * Version: 1.0.24
    66 * Author: SapientSEO
    77 * Plugin URI: https://sapientseo.ai
  • sapientseo/trunk/inc/api/posts.php

    r3293679 r3295018  
    232232    $offset   = intval($request->get_param('offset') ?? 0);
    233233    $per_page = $request->get_param('per_page');
    234     $per_page = is_numeric($per_page) && intval($per_page) > 0 ? intval($per_page) : -1; // -1 means all
     234    $per_page = is_numeric($per_page) && intval($per_page) > 0 ? intval($per_page) : -1;
    235235
    236236    $args = [
     
    241241        'orderby'                => 'modified',
    242242        'order'                  => 'DESC',
    243         'no_found_rows'          => true,
     243        'no_found_rows'          => false, // needed to get found_posts
    244244        'cache_results'          => false,
    245245        'update_post_meta_cache' => false,
     
    266266
    267267    return rest_ensure_response([
    268         'count'  => count($posts),
     268        'count'  => count($posts),         // number of posts in this call
     269        'total'  => $query->found_posts,   // total number of matching posts
    269270        'offset' => $offset,
    270271        'posts'  => $posts,
  • sapientseo/trunk/readme.txt

    r3293679 r3295018  
    44Tested up to: 6.8
    55Requires PHP: 7.4
    6 Stable tag: 1.0.23
     6Stable tag: 1.0.24
    77License: GPLv2 or later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
  • sapientseo/trunk/sapientseo.php

    r3293679 r3295018  
    33 * Plugin Name: SapientSEO
    44 * Description: Connect your WordPress site to SapientSEO using secure custom REST API endpoints.
    5  * Version: 1.0.23
     5 * Version: 1.0.24
    66 * Author: SapientSEO
    77 * Plugin URI: https://sapientseo.ai
Note: See TracChangeset for help on using the changeset viewer.