Plugin Directory

Changeset 2158023


Ignore:
Timestamp:
09/17/2019 06:11:04 PM (7 years ago)
Author:
milanmk
Message:

Release 1.14.3

Location:
schema-app-structured-data-for-schemaorg
Files:
26 added
3 edited

Legend:

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

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

    r2155544 r2158023  
    139139                case 'EntityCreated':
    140140                case 'EntityUpdated':
     141                    $schema_markup = is_array( $request_data->{"@graph"} ) ? reset( $request_data->{"@graph"} ) : $request_data->{"@graph"};
     142
    141143                    // First delete then set; set method only updates expiry time if transient already exists
    142144                    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 );
    144146
    145147                    if ( ! empty( $this->Settings['Debug'] ) ) {
  • schema-app-structured-data-for-schemaorg/trunk/readme.txt

    r2155544 r2158023  
    99Requires PHP: 5.4
    1010Tested up to: 5.2
    11 Stable tag: 1.14.2
     11Stable tag: 1.14.3
    1212License: GPL2
    1313License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8787== Changelog ==
    8888
     89= 1.14.3 =
     90- Fix, Updating of markup cache from Webhook event
     91
    8992= 1.14.2 =
    9093- Fix, Transient cache issue
     
    388391
    389392= 1.14.2 =
    390 - Fix transient cache issue, added debug feature
     393- Updating of markup cache from Webhook event
Note: See TracChangeset for help on using the changeset viewer.