Changeset 36348 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 01/19/2016 04:09:32 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/taxonomy.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r36323 r36348 1355 1355 $names = (array) $args['name']; 1356 1356 foreach ( $names as &$_name ) { 1357 $_name = sanitize_term_field( 'name', $_name, 0, reset( $taxonomies ), 'db' ); 1357 // `sanitize_term_field()` returns slashed data. 1358 $_name = stripslashes( sanitize_term_field( 'name', $_name, 0, reset( $taxonomies ), 'db' ) ); 1358 1359 } 1359 1360
Note: See TracChangeset
for help on using the changeset viewer.