Plugin Directory

Changeset 3292976


Ignore:
Timestamp:
05/14/2025 06:12:07 AM (11 months ago)
Author:
galbc
Message:

Release version 1.0.21

Location:
sapientseo
Files:
6 edited
1 copied

Legend:

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

    r3292615 r3292976  
    218218// Get All Posts
    219219function sapient_seo_get_all_posts(WP_REST_Request $request) {
     220    header('Cache-Control: no-cache, must-revalidate, max-age=0');
     221
    220222    $offset   = intval($request->get_param('offset') ?? 0);
    221223    $per_page = intval($request->get_param('per_page') ?? 10);
    222224
    223225    $args = [
    224         'post_type'      => 'post',
    225         'post_status'    => ['draft', 'publish', 'future', 'pending'],
    226         'posts_per_page' => $per_page,
    227         'offset'         => $offset,
    228         'orderby'        => 'modified',
    229         'order'          => 'DESC',
     226        'post_type'              => 'post',
     227        'post_status'            => ['draft', 'publish', 'future', 'pending'],
     228        'posts_per_page'         => $per_page,
     229        'offset'                 => $offset,
     230        'orderby'                => 'modified',
     231        'order'                  => 'DESC',
     232        'no_found_rows'          => true,
     233        'cache_results'          => false,
     234        'update_post_meta_cache' => false,
     235        'update_post_term_cache' => false,
    230236    ];
    231237
  • sapientseo/tags/1.0.21/readme.txt

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

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

    r3292615 r3292976  
    218218// Get All Posts
    219219function sapient_seo_get_all_posts(WP_REST_Request $request) {
     220    header('Cache-Control: no-cache, must-revalidate, max-age=0');
     221
    220222    $offset   = intval($request->get_param('offset') ?? 0);
    221223    $per_page = intval($request->get_param('per_page') ?? 10);
    222224
    223225    $args = [
    224         'post_type'      => 'post',
    225         'post_status'    => ['draft', 'publish', 'future', 'pending'],
    226         'posts_per_page' => $per_page,
    227         'offset'         => $offset,
    228         'orderby'        => 'modified',
    229         'order'          => 'DESC',
     226        'post_type'              => 'post',
     227        'post_status'            => ['draft', 'publish', 'future', 'pending'],
     228        'posts_per_page'         => $per_page,
     229        'offset'                 => $offset,
     230        'orderby'                => 'modified',
     231        'order'                  => 'DESC',
     232        'no_found_rows'          => true,
     233        'cache_results'          => false,
     234        'update_post_meta_cache' => false,
     235        'update_post_term_cache' => false,
    230236    ];
    231237
  • sapientseo/trunk/readme.txt

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

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