Changeset 2641995
- Timestamp:
- 12/09/2021 04:44:27 PM (4 years ago)
- Location:
- schema-app-structured-data-for-schemaorg
- Files:
-
- 27 added
- 3 edited
-
tags/1.17.11 (added)
-
tags/1.17.11/css (added)
-
tags/1.17.11/css/schemaStyle.css (added)
-
tags/1.17.11/data (added)
-
tags/1.17.11/data/tree.jsonld (added)
-
tags/1.17.11/hunch-schema.php (added)
-
tags/1.17.11/js (added)
-
tags/1.17.11/js/schema.js (added)
-
tags/1.17.11/js/schemaAdmin.js (added)
-
tags/1.17.11/js/schemaEditor.js (added)
-
tags/1.17.11/lib (added)
-
tags/1.17.11/lib/HunchSchema (added)
-
tags/1.17.11/lib/HunchSchema/Author.php (added)
-
tags/1.17.11/lib/HunchSchema/Blog.php (added)
-
tags/1.17.11/lib/HunchSchema/Category.php (added)
-
tags/1.17.11/lib/HunchSchema/Page.php (added)
-
tags/1.17.11/lib/HunchSchema/Post.php (added)
-
tags/1.17.11/lib/HunchSchema/Search.php (added)
-
tags/1.17.11/lib/HunchSchema/Tag.php (added)
-
tags/1.17.11/lib/HunchSchema/Thing.php (added)
-
tags/1.17.11/lib/SchemaCron.php (added)
-
tags/1.17.11/lib/SchemaEditor.php (added)
-
tags/1.17.11/lib/SchemaFront.php (added)
-
tags/1.17.11/lib/SchemaServer.php (added)
-
tags/1.17.11/lib/SchemaSettings.php (added)
-
tags/1.17.11/lib/classmap.php (added)
-
tags/1.17.11/readme.txt (added)
-
trunk/hunch-schema.php (modified) (1 diff)
-
trunk/lib/SchemaServer.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
schema-app-structured-data-for-schemaorg/trunk/hunch-schema.php
r2631473 r2641995 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.17.1 07 * Version: 1.17.11 8 8 * Author: Hunch Manifest 9 9 * Author URI: https://www.hunchmanifest.com -
schema-app-structured-data-for-schemaorg/trunk/lib/SchemaServer.php
r2631473 r2641995 139 139 } 140 140 141 if ( count( $schema_data ) == 1 ) { 142 $schema_data = reset( $schema_data ); 143 } 144 145 $schema_json = empty( $schema_data ) ? '' : wp_json_encode( $schema_data ); 146 141 147 // Expiry is 7 days for empty schema data or else 1 day 142 $transient_expiry = empty( $schema_data ) ? 604800 : 86400; 143 $schema_data = ( count( $schema_data ) == 1 ) ? reset( $schema_data ) : $schema_data; 144 148 $transient_expiry = empty( $schema_json ) ? 604800 : 86400; 145 149 // First delete then set; set method only updates expiry time if transient already exists 146 150 delete_transient( $this->transient_id ); 147 set_transient( $this->transient_id, wp_json_encode( $schema_data ), $transient_expiry );148 149 return empty( $schema_data ) ? '' : wp_json_encode( $schema_data );151 set_transient( $this->transient_id, $schema_json, $transient_expiry ); 152 153 return $schema_json; 150 154 } 151 155 -
schema-app-structured-data-for-schemaorg/trunk/readme.txt
r2631473 r2641995 9 9 Requires PHP: 5.4 10 10 Tested up to: 5.8 11 Stable tag: 1.17.1 011 Stable tag: 1.17.11 12 12 License: GPL2 13 13 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 80 80 == Changelog == 81 81 82 = 1.17.11 = 83 Release Date - 9 December 2021 84 85 - Fix, Markup issue due to merging of Editor and Highlighter markup 86 82 87 = 1.17.10 = 83 88 Release Date - 16 November 2021 … … 534 539 == Upgrade Notice == 535 540 536 = 1.17.1 0=537 - Updated YouTube URL matching, Merging of Editor and Highlighter markup541 = 1.17.11 = 542 - Fix markup issue due to merging of Editor and Highlighter markup
Note: See TracChangeset
for help on using the changeset viewer.