Plugin Directory

Changeset 2548552


Ignore:
Timestamp:
06/15/2021 09:48:27 PM (5 years ago)
Author:
timvaniersel
Message:

Update nonce check

Location:
remove-schema/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • remove-schema/trunk/admin/class-remove-schema-post-editor.php

    r2215002 r2548552  
    9090
    9191            // security check
    92             if ( isset($_POST['remove_schema_nonce']) && !wp_verify_nonce( $_POST['remove_schema_nonce'], plugin_basename( __FILE__ ) ) )
     92            if ( isset($_POST['remove_schema_nonce']) || !wp_verify_nonce( $_POST['remove_schema_nonce'], plugin_basename( __FILE__ ) ) )
    9393                    return;
    9494
  • remove-schema/trunk/remove-schema.php

    r2362095 r2548552  
    1717 * Plugin URI:        https://plugin.nl/en/remove-schema-plugin/
    1818 * Description:       Remove all Microdata, RDFa and/or JSON-ld that you don’t want on your page.
    19  * Version:           1.4
     19 * Version:           1.5
    2020 * Author:            Plugin.nl
    2121 * Author URI:        https://plugin.nl/en/remove-schema-plugin/
     
    3434 * Currently plugin version.
    3535 */
    36 define( 'REMOVE_SCHEMA_VERSION', '1.4' );
     36define( 'REMOVE_SCHEMA_VERSION', '1.5' );
    3737
    3838/**
Note: See TracChangeset for help on using the changeset viewer.