Changeset 34246 for trunk/src/wp-includes/taxonomy-functions.php
- Timestamp:
- 09/16/2015 06:49:28 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy-functions.php
r34217 r34246 804 804 } else { 805 805 $term = get_term( (int) $value, $taxonomy, $output, $filter ); 806 if ( is_wp_error( $term ) )806 if ( is_wp_error( $term ) || is_null( $term ) ) { 807 807 $term = false; 808 } 808 809 return $term; 809 810 }
Note: See TracChangeset
for help on using the changeset viewer.