Changeset 1806458
- Timestamp:
- 01/21/2018 04:18:07 AM (8 years ago)
- Location:
- schema-app-structured-data-for-schemaorg/trunk
- Files:
-
- 3 edited
-
hunch-schema.php (modified) (1 diff)
-
lib/SchemaServer.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
schema-app-structured-data-for-schemaorg/trunk/hunch-schema.php
r1806407 r1806458 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.9. 47 * Version: 1.9.5 8 8 * Author: Hunch Manifest 9 9 * Author URI: https://www.hunchmanifest.com -
schema-app-structured-data-for-schemaorg/trunk/lib/SchemaServer.php
r1806407 r1806458 69 69 $remote_response = wp_remote_get( $this->readLink( $resource ) ); 70 70 71 if ( is_wp_error( $remote_response ) || empty( wp_remote_retrieve_body( $remote_response ) ) || wp_remote_retrieve_body( $remote_response ) === 'null' || wp_remote_retrieve_response_code( $remote_response ) != 200 ) { 71 if ( is_wp_error( $remote_response ) 72 || wp_remote_retrieve_body( $remote_response ) === "" 73 || wp_remote_retrieve_body( $remote_response ) === 'null' 74 || wp_remote_retrieve_response_code( $remote_response ) != 200 ) { 72 75 $schemadata = ''; 73 76 } else { -
schema-app-structured-data-for-schemaorg/trunk/readme.txt
r1806407 r1806458 7 7 Requires at least: 3.5 8 8 Tested up to: 4.8 9 Stable tag: 1.9. 49 Stable tag: 1.9.5 10 10 License: GPL2 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 84 84 85 85 == Changelog == 86 = 1.9.5 = 87 - Fix, API error in PHP versions < 5.4 88 86 89 = 1.9.4 = 87 90 - Fix, caching when no Schema App data found
Note: See TracChangeset
for help on using the changeset viewer.