Changeset 2120994
- Timestamp:
- 07/10/2019 07:22:01 PM (7 years ago)
- Location:
- page-specific-scripts/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
wpcp-page-specific-scripts.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
page-specific-scripts/trunk/readme.txt
r2116802 r2120994 4 4 Tags: script, jQuery, jQuery on posts pages, Javascript, page specific jQuery, page specific script 5 5 Requires at least: 3.1 6 Tested up to: 5. 17 Stable tag: 1. 06 Tested up to: 5.2.2 7 Stable tag: 1.2.3 8 8 License: GPL2 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
page-specific-scripts/trunk/wpcp-page-specific-scripts.php
r2116799 r2120994 117 117 $callback = array( $this, 'add_script_meta_box' ); 118 118 $context = 'normal'; 119 $priority = ' high';119 $priority = 'default'; 120 120 $callback_args = ''; 121 121 … … 167 167 return; 168 168 } 169 $data = sanitize_text_field($_POST['add_script'] );169 $data = wp_unslash($_POST['add_script'] ); 170 170 update_post_meta( $post_id, $this->meta_key, $data ); 171 171 } 172 172 173 } // class173 } 174 174 175 175
Note: See TracChangeset
for help on using the changeset viewer.