Changeset 3289954
- Timestamp:
- 05/08/2025 02:48:48 PM (11 months ago)
- Location:
- sapientseo
- Files:
-
- 6 edited
- 1 copied
-
tags/1.0.7 (copied) (copied from sapientseo/trunk)
-
tags/1.0.7/inc/api/posts.php (modified) (3 diffs)
-
tags/1.0.7/readme.txt (modified) (1 diff)
-
tags/1.0.7/sapientseo.php (modified) (1 diff)
-
trunk/inc/api/posts.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/sapientseo.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sapientseo/tags/1.0.7/inc/api/posts.php
r3289940 r3289954 140 140 if (isset($params['status']) && in_array($params['status'], ['draft', 'publish'])) { 141 141 $post_data['post_status'] = $params['status']; 142 } 143 144 if (!empty($params['post_date'])) { 145 $post_data['post_date'] = sanitize_text_field($params['post_date']); 142 146 } 143 147 … … 198 202 'created_at' => get_the_date('c', $post->ID), 199 203 'modified_at' => get_post_modified_time('c', true, $post->ID), 204 'url' => get_permalink($post->ID), 200 205 ]; 201 206 } … … 235 240 'excerpt' => get_the_excerpt($post), 236 241 'content' => apply_filters('the_content', $post->post_content), 242 'url' => get_permalink($post_id), 237 243 'created_at' => get_the_date('c', $post), 238 244 'modified_at' => get_post_modified_time('c', true, $post), -
sapientseo/tags/1.0.7/readme.txt
r3289940 r3289954 4 4 Tested up to: 6.8 5 5 Requires PHP: 7.4 6 Stable tag: 1.0. 66 Stable tag: 1.0.7 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
sapientseo/tags/1.0.7/sapientseo.php
r3289940 r3289954 3 3 * Plugin Name: SapientSEO 4 4 * Description: Connect your WordPress site to SapientSEO using secure custom REST API endpoints. 5 * Version: 1.0. 65 * Version: 1.0.7 6 6 * Author: SapientSEO 7 7 * Plugin URI: https://sapientseo.ai -
sapientseo/trunk/inc/api/posts.php
r3289940 r3289954 140 140 if (isset($params['status']) && in_array($params['status'], ['draft', 'publish'])) { 141 141 $post_data['post_status'] = $params['status']; 142 } 143 144 if (!empty($params['post_date'])) { 145 $post_data['post_date'] = sanitize_text_field($params['post_date']); 142 146 } 143 147 … … 198 202 'created_at' => get_the_date('c', $post->ID), 199 203 'modified_at' => get_post_modified_time('c', true, $post->ID), 204 'url' => get_permalink($post->ID), 200 205 ]; 201 206 } … … 235 240 'excerpt' => get_the_excerpt($post), 236 241 'content' => apply_filters('the_content', $post->post_content), 242 'url' => get_permalink($post_id), 237 243 'created_at' => get_the_date('c', $post), 238 244 'modified_at' => get_post_modified_time('c', true, $post), -
sapientseo/trunk/readme.txt
r3289940 r3289954 4 4 Tested up to: 6.8 5 5 Requires PHP: 7.4 6 Stable tag: 1.0. 66 Stable tag: 1.0.7 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
sapientseo/trunk/sapientseo.php
r3289940 r3289954 3 3 * Plugin Name: SapientSEO 4 4 * Description: Connect your WordPress site to SapientSEO using secure custom REST API endpoints. 5 * Version: 1.0. 65 * Version: 1.0.7 6 6 * Author: SapientSEO 7 7 * Plugin URI: https://sapientseo.ai
Note: See TracChangeset
for help on using the changeset viewer.