Changeset 2569621
- Timestamp:
- 07/21/2021 10:59:39 PM (5 years ago)
- Location:
- websitescanner-custom-schema/trunk
- Files:
-
- 2 edited
-
admin/class-websitescanner-custom-schema-admin.php (modified) (1 diff)
-
websitescanner-custom-schema.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
websitescanner-custom-schema/trunk/admin/class-websitescanner-custom-schema-admin.php
r2548573 r2569621 95 95 public function options_update() { 96 96 if (isset($_POST[$this->plugin_name])){ 97 $data = $this->validate($_POST[$this->plugin_name]);98 // $data[] = $_POST['websitescanner_custom_schema_nonce']97 $data = sanitize_post($_POST[$this->plugin_name], 'js'); 98 $data = $this->validate($data); 99 99 if ($data) { 100 100 update_post_meta( get_the_ID(), 'websitescanner_custom_schema_post_data', $data ); -
websitescanner-custom-schema/trunk/websitescanner-custom-schema.php
r2548775 r2569621 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. 419 * Version: 1.3.5 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. 4' );38 define( 'WEBSITESCANNER_CUSTOM_SCHEMA_VERSION', '1.3.5' ); 39 39 /** 40 40 * The core plugin class that is used to define internationalization,
Note: See TracChangeset
for help on using the changeset viewer.