Plugin Directory

Changeset 1845157


Ignore:
Timestamp:
03/22/2018 03:57:08 PM (8 years ago)
Author:
vberkel
Message:

Release v1.9.10 fix loading of double encoded Cyrillic characters in URL lookup

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

Legend:

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

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

    r1816579 r1845157  
    5858                        return '';
    5959                }
     60
     61                // Decode accent characters
     62                $resource = urldecode( $resource );
    6063
    6164
  • schema-app-structured-data-for-schemaorg/trunk/lib/SchemaSettings.php

    r1833938 r1845157  
    491491        $new_input = array();
    492492       
    493         // Schema App Settings tab
    494         if( isset( $input['graph_uri'] ) )
     493        if ( isset( $input['graph_uri'] ) )
    495494        {
    496495            $new_input['graph_uri'] = sanitize_text_field( $input['graph_uri'] );
     
    502501                wp_remote_get( sprintf( 'https://api%s.hunchmanifest.com/utility/template?template=http://hunchmanifest.com/ontology/schemarules#AddSiteAccount&accountId=%s&siteUrl=%s&software=Wordpress', $APISubDomain, $new_input['graph_uri'], site_url() ), array( 'timeout' => 15, 'sslverify' => false ) );
    503502            }
     503
     504            // Arguments: Settings Field, Old Value, New Value
     505            do_action( 'hunch_schema_settings_sanitize', 'graph_uri', ( isset( $this->Settings['graph_uri'] ) ? $this->Settings['graph_uri'] : '' ), $new_input['graph_uri'] );
    504506        }
    505507
     
    510512            {
    511513                $new_input[$FieldName] = sanitize_text_field( $input[$FieldName] );
     514
     515                // Arguments: Settings Field, Old Value, New Value
     516                do_action( 'hunch_schema_settings_sanitize', $FieldName, ( isset( $this->Settings[$FieldName] ) ? $this->Settings[$FieldName] : '' ), $new_input[$FieldName] );
    512517            }
    513518        }
  • schema-app-structured-data-for-schemaorg/trunk/readme.txt

    r1833938 r1845157  
    77Requires at least: 3.5
    88Tested up to: 4.8
    9 Stable tag: 1.9.9
     9Stable tag: 1.9.10
    1010License: GPL2
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8484
    8585== Changelog ==
     86= 1.9.10 =
     87- Fix, loading double encoded Cyrillic characters in URL lookup
     88
    8689= 1.9.9 =
    8790- Feature, add setting for schema in header or footer
Note: See TracChangeset for help on using the changeset viewer.