Changeset 3292976
- Timestamp:
- 05/14/2025 06:12:07 AM (11 months ago)
- Location:
- sapientseo
- Files:
-
- 6 edited
- 1 copied
-
tags/1.0.21 (copied) (copied from sapientseo/trunk)
-
tags/1.0.21/inc/api/posts.php (modified) (1 diff)
-
tags/1.0.21/readme.txt (modified) (1 diff)
-
tags/1.0.21/sapientseo.php (modified) (1 diff)
-
trunk/inc/api/posts.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/sapientseo.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sapientseo/tags/1.0.21/inc/api/posts.php
r3292615 r3292976 218 218 // Get All Posts 219 219 function sapient_seo_get_all_posts(WP_REST_Request $request) { 220 header('Cache-Control: no-cache, must-revalidate, max-age=0'); 221 220 222 $offset = intval($request->get_param('offset') ?? 0); 221 223 $per_page = intval($request->get_param('per_page') ?? 10); 222 224 223 225 $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, 230 236 ]; 231 237 -
sapientseo/tags/1.0.21/readme.txt
r3292615 r3292976 4 4 Tested up to: 6.8 5 5 Requires PHP: 7.4 6 Stable tag: 1.0.2 06 Stable tag: 1.0.21 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
sapientseo/tags/1.0.21/sapientseo.php
r3292615 r3292976 3 3 * Plugin Name: SapientSEO 4 4 * Description: Connect your WordPress site to SapientSEO using secure custom REST API endpoints. 5 * Version: 1.0.2 05 * Version: 1.0.21 6 6 * Author: SapientSEO 7 7 * Plugin URI: https://sapientseo.ai -
sapientseo/trunk/inc/api/posts.php
r3292615 r3292976 218 218 // Get All Posts 219 219 function sapient_seo_get_all_posts(WP_REST_Request $request) { 220 header('Cache-Control: no-cache, must-revalidate, max-age=0'); 221 220 222 $offset = intval($request->get_param('offset') ?? 0); 221 223 $per_page = intval($request->get_param('per_page') ?? 10); 222 224 223 225 $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, 230 236 ]; 231 237 -
sapientseo/trunk/readme.txt
r3292615 r3292976 4 4 Tested up to: 6.8 5 5 Requires PHP: 7.4 6 Stable tag: 1.0.2 06 Stable tag: 1.0.21 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
sapientseo/trunk/sapientseo.php
r3292615 r3292976 3 3 * Plugin Name: SapientSEO 4 4 * Description: Connect your WordPress site to SapientSEO using secure custom REST API endpoints. 5 * Version: 1.0.2 05 * Version: 1.0.21 6 6 * Author: SapientSEO 7 7 * Plugin URI: https://sapientseo.ai
Note: See TracChangeset
for help on using the changeset viewer.