Changeset 3485183
- Timestamp:
- 03/18/2026 12:02:43 AM (2 weeks ago)
- Location:
- rank-authority
- Files:
-
- 9 added
- 2 edited
-
tags/1.0.35 (added)
-
tags/1.0.35/assets (added)
-
tags/1.0.35/assets/icon.svg (added)
-
tags/1.0.35/rank-authority.php (added)
-
tags/1.0.35/readme.txt (added)
-
tags/1.0.35/templates (added)
-
tags/1.0.35/templates/category-geo.php (added)
-
tags/1.0.35/templates/page-geo.php (added)
-
tags/1.0.35/uninstall.php (added)
-
trunk/rank-authority.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
rank-authority/trunk/rank-authority.php
r3485164 r3485183 4 4 * Plugin URI: https://rankauthority.com/plugins/rankauthority 5 5 * Description: Secure API connector to publish posts / overwrite posts from the RA Dashboard to WordPress. Token reset now available to all administrators. 6 * Version: 1.0.3 46 * Version: 1.0.35 7 7 * Author: Rank Authority 8 8 * Author URI: https://rankauthority.com … … 2167 2167 'cleared_builder_meta' => $cleared_builder_meta, 2168 2168 ]; 2169 if (isset($params['schema']) && !empty($params['schema'])) {2170 $stored_schema = get_post_meta($updated_id, '_rank_authority_schema', true);2171 $schema_type = get_post_meta($updated_id, '_rank_authority_schema_type', true);2172 if ($s tored_schema) {2173 if ($schema_type === 'json') {2174 $decoded = json_decode($stored_schema, true);2175 $response['schema'] = json_last_error() === JSON_ERROR_NONE ? $decoded : $stored_schema;2176 } else {2177 $response['schema'] = $stored_schema;2178 }2179 }2169 $stored_schema = get_post_meta($updated_id, '_rank_authority_schema', true); 2170 $schema_type = get_post_meta($updated_id, '_rank_authority_schema_type', true); 2171 if ($stored_schema) { 2172 if ($schema_type === 'json') { 2173 $decoded = json_decode($stored_schema, true); 2174 $response['schema'] = json_last_error() === JSON_ERROR_NONE ? $decoded : $stored_schema; 2175 } else { 2176 $response['schema'] = $stored_schema; 2177 } 2178 } else { 2179 $response['schema'] = null; 2180 2180 } 2181 2181 return $response; -
rank-authority/trunk/readme.txt
r3485164 r3485183 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 1.0.3 47 Stable tag: 1.0.35 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 137 137 138 138 == Changelog == 139 140 = 1.0.35 = 141 * PUT response now always includes schema (stored schema or null) 142 * Previously schema was only included when schema was sent in the request 139 143 140 144 = 1.0.34 = … … 342 346 == Upgrade Notice == 343 347 348 = 1.0.35 = 349 PUT response now always includes schema for consistency. Use the response to verify stored structured data regardless of whether schema was sent in the request. 350 344 351 = 1.0.34 = 345 352 Schema enhancements: publisher name and author now use your WordPress site name and post author. Structured data will reflect your site's branding and authorship.
Note: See TracChangeset
for help on using the changeset viewer.