Changeset 2548573
- Timestamp:
- 06/15/2021 10:28:36 PM (5 years ago)
- Location:
- websitescanner-custom-schema/trunk
- Files:
-
- 2 edited
-
admin/class-websitescanner-custom-schema-admin.php (modified) (2 diffs)
-
websitescanner-custom-schema.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
websitescanner-custom-schema/trunk/admin/class-websitescanner-custom-schema-admin.php
r2548553 r2548573 96 96 if (isset($_POST[$this->plugin_name])){ 97 97 $data = $this->validate($_POST[$this->plugin_name]); 98 // $data[] = $_POST['websitescanner_custom_schema_nonce'] 98 99 if ($data) { 99 100 update_post_meta( get_the_ID(), 'websitescanner_custom_schema_post_data', $data ); … … 107 108 return; 108 109 // security check 109 if ( isset($_POST['websitescanner_custom_schema_nonce']) || !wp_verify_nonce( $_POST['websitescanner_custom_schema_nonce'], plugin_basename( __FILE__ ) ) )110 if ( !isset($_POST['websitescanner_custom_schema_nonce']) || !wp_verify_nonce( $_POST['websitescanner_custom_schema_nonce'], plugin_basename( __FILE__ ) ) ) 110 111 return; 111 112 -
websitescanner-custom-schema/trunk/websitescanner-custom-schema.php
r2548553 r2548573 17 17 * Plugin URI: https://plugin.nl/en/websitescanner-custom-schema-plugin/ 18 18 * Description: Adds a field to the editor for custom JSON-ld schema markup. 19 * Version: 1.3. 219 * Version: 1.3.3 20 20 * Author: Plugin.nl 21 21 * Author URI: https://plugin.nl/en/ … … 36 36 * Rename this for your plugin and update it as you release new versions. 37 37 */ 38 define( 'WEBSITESCANNER_CUSTOM_SCHEMA_VERSION', '1.3. 1' );38 define( 'WEBSITESCANNER_CUSTOM_SCHEMA_VERSION', '1.3.3' ); 39 39 /** 40 40 * The core plugin class that is used to define internationalization,
Note: See TracChangeset
for help on using the changeset viewer.