Changeset 28466 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 05/17/2014 02:54:03 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r28465 r28466 2060 2060 2061 2061 $args = wp_parse_args($args, $defaults); 2062 extract($args, EXTR_SKIP); 2063 2064 if ( isset( $default ) ) { 2065 $default = (int) $default; 2066 if ( ! term_exists($default, $taxonomy) ) 2067 unset($default); 2062 2063 if ( isset( $args['default'] ) ) { 2064 $default = (int) $args['default']; 2065 if ( ! term_exists( $default, $taxonomy ) ) { 2066 unset( $default ); 2067 } 2068 } 2069 2070 if ( isset( $args['force_default'] ) ) { 2071 $force_default = $args['force_default']; 2068 2072 } 2069 2073
Note: See TracChangeset
for help on using the changeset viewer.