Plugin Directory

Changeset 1806458


Ignore:
Timestamp:
01/21/2018 04:18:07 AM (8 years ago)
Author:
vberkel
Message:

Release v1.9.5 fix API for earlier PHP versions

Location:
schema-app-structured-data-for-schemaorg/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • schema-app-structured-data-for-schemaorg/trunk/hunch-schema.php

    r1806407 r1806458  
    55 * Plugin URI: http://www.schemaapp.com
    66 * Description: This plugin adds http://schema.org structured data to your website
    7  * Version: 1.9.4
     7 * Version: 1.9.5
    88 * Author: Hunch Manifest
    99 * Author URI: https://www.hunchmanifest.com
  • schema-app-structured-data-for-schemaorg/trunk/lib/SchemaServer.php

    r1806407 r1806458  
    6969        $remote_response = wp_remote_get( $this->readLink( $resource ) );
    7070
    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 ) {
    7275            $schemadata = '';
    7376        } else {
  • schema-app-structured-data-for-schemaorg/trunk/readme.txt

    r1806407 r1806458  
    77Requires at least: 3.5
    88Tested up to: 4.8
    9 Stable tag: 1.9.4
     9Stable tag: 1.9.5
    1010License: GPL2
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8484
    8585== Changelog ==
     86= 1.9.5 =
     87- Fix, API error in PHP versions < 5.4
     88
    8689= 1.9.4 =
    8790- Fix, caching when no Schema App data found
Note: See TracChangeset for help on using the changeset viewer.