Changeset 39465 for branches/4.7/src/wp-includes/capabilities.php
- Timestamp:
- 12/03/2016 05:08:33 AM (8 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/src/wp-includes/capabilities.php
r39179 r39465 428 428 case 'delete_term': 429 429 case 'assign_term': 430 $term_id = $args[0];430 $term_id = (int) $args[0]; 431 431 $term = get_term( $term_id ); 432 432 if ( ! $term || is_wp_error( $term ) ) {
Note: See TracChangeset
for help on using the changeset viewer.