Changeset 39993 for branches/4.7/src/wp-includes/class-wp-term.php
- Timestamp:
- 01/26/2017 04:56:21 PM (8 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/src/wp-includes/class-wp-term.php
r38381 r39993 126 126 global $wpdb; 127 127 128 if ( ! is_numeric( $term_id ) || $term_id != floor( $term_id ) || ! $term_id ) { 128 $term_id = (int) $term_id; 129 if ( ! $term_id ) { 129 130 return false; 130 131 } 131 132 $term_id = (int) $term_id;133 132 134 133 $_term = wp_cache_get( $term_id, 'terms' );
Note: See TracChangeset
for help on using the changeset viewer.