Changeset 2158023
- Timestamp:
- 09/17/2019 06:11:04 PM (7 years ago)
- Location:
- schema-app-structured-data-for-schemaorg
- Files:
-
- 26 added
- 3 edited
-
tags/1.14.3 (added)
-
tags/1.14.3/css (added)
-
tags/1.14.3/css/schemaStyle.css (added)
-
tags/1.14.3/data (added)
-
tags/1.14.3/data/tree.jsonld (added)
-
tags/1.14.3/hunch-schema.php (added)
-
tags/1.14.3/js (added)
-
tags/1.14.3/js/schema.js (added)
-
tags/1.14.3/js/schemaAdmin.js (added)
-
tags/1.14.3/js/schemaEditor.js (added)
-
tags/1.14.3/lib (added)
-
tags/1.14.3/lib/HunchSchema (added)
-
tags/1.14.3/lib/HunchSchema/Author.php (added)
-
tags/1.14.3/lib/HunchSchema/Blog.php (added)
-
tags/1.14.3/lib/HunchSchema/Category.php (added)
-
tags/1.14.3/lib/HunchSchema/Page.php (added)
-
tags/1.14.3/lib/HunchSchema/Post.php (added)
-
tags/1.14.3/lib/HunchSchema/Search.php (added)
-
tags/1.14.3/lib/HunchSchema/Tag.php (added)
-
tags/1.14.3/lib/HunchSchema/Thing.php (added)
-
tags/1.14.3/lib/SchemaEditor.php (added)
-
tags/1.14.3/lib/SchemaFront.php (added)
-
tags/1.14.3/lib/SchemaServer.php (added)
-
tags/1.14.3/lib/SchemaSettings.php (added)
-
tags/1.14.3/lib/classmap.php (added)
-
tags/1.14.3/readme.txt (added)
-
trunk/hunch-schema.php (modified) (1 diff)
-
trunk/lib/SchemaFront.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
schema-app-structured-data-for-schemaorg/trunk/hunch-schema.php
r2155544 r2158023 5 5 * Plugin URI: http://www.schemaapp.com 6 6 * Description: This plugin adds http://schema.org structured data to your website 7 * Version: 1.14. 27 * Version: 1.14.3 8 8 * Author: Hunch Manifest 9 9 * Author URI: https://www.hunchmanifest.com -
schema-app-structured-data-for-schemaorg/trunk/lib/SchemaFront.php
r2155544 r2158023 139 139 case 'EntityCreated': 140 140 case 'EntityUpdated': 141 $schema_markup = is_array( $request_data->{"@graph"} ) ? reset( $request_data->{"@graph"} ) : $request_data->{"@graph"}; 142 141 143 // First delete then set; set method only updates expiry time if transient already exists 142 144 delete_transient( $transient_id ); 143 set_transient( $transient_id, json_encode( reset( $request_data->{"@graph"} )), 86400 );145 set_transient( $transient_id, json_encode( $schema_markup ), 86400 ); 144 146 145 147 if ( ! empty( $this->Settings['Debug'] ) ) { -
schema-app-structured-data-for-schemaorg/trunk/readme.txt
r2155544 r2158023 9 9 Requires PHP: 5.4 10 10 Tested up to: 5.2 11 Stable tag: 1.14. 211 Stable tag: 1.14.3 12 12 License: GPL2 13 13 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 87 87 == Changelog == 88 88 89 = 1.14.3 = 90 - Fix, Updating of markup cache from Webhook event 91 89 92 = 1.14.2 = 90 93 - Fix, Transient cache issue … … 388 391 389 392 = 1.14.2 = 390 - Fix transient cache issue, added debug feature393 - Updating of markup cache from Webhook event
Note: See TracChangeset
for help on using the changeset viewer.