Changeset 1725354
- Timestamp:
- 09/06/2017 06:42:41 AM (9 years ago)
- File:
-
- 1 edited
-
wp-jobs/tags/1.7/wp-jobs.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-jobs/tags/1.7/wp-jobs.php
r1723893 r1725354 310 310 // update_custom_meta($postID, addslashes($_POST['wp_jobs_salary']), 'wp_jobs_salary'); 311 311 } 312 $qlf_html = array( 313 'a' => array( 314 'href' => array(), 315 'title' => array() 316 ), 317 'img' => array( 318 'src' => array(), 319 'title' => array(), 320 'alt' => array(), 321 ), 322 'br' => array(), 323 'p' => array(), 324 'em' => array(), 325 'strong' => array(), 326 'ul' => array(), 327 'ol' => array(), 328 'li' => array(), 329 'blockquote' => array(), 330 'span' => array( 331 'style' => array(), 332 'title' => array() 333 ), 334 ); 312 335 if ($_POST['wpjobseditorqualification']) { 313 update_post_meta($postID, 'wpjobseditorqualification', $_POST['wpjobseditorqualification']); 314 // update_custom_meta($postID, addslashes($_POST['wpjobseditorqualification']), 'wpjobseditorqualification'); 336 update_post_meta($postID, 'wpjobseditorqualification', wp_kses($_POST['wpjobseditorqualification'], $qlf_html)); 315 337 } 316 338 }
Note: See TracChangeset
for help on using the changeset viewer.