Changeset 5708 for trunk/wp-includes/taxonomy.php
- Timestamp:
- 06/14/2007 10:45:40 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r5700 r5708 45 45 $defaults = array('ignore_empty' => false); 46 46 $args = wp_parse_args($args, $defaults); 47 extract($args );47 extract($args, EXTR_SKIP); 48 48 49 49 $where = ''; … … 70 70 $args['name'] = $term; 71 71 $args = sanitize_term($args, $taxonomy, 'db'); 72 extract($args );72 extract($args, EXTR_SKIP); 73 73 74 74 if ( empty($slug) ) … … 154 154 $defaults = array(); 155 155 $args = wp_parse_args($args, $defaults); 156 extract($args );156 extract($args, EXTR_SKIP); 157 157 158 158 if ( isset($default) ) { … … 215 215 $defaults = array( 'alias_of' => '', 'description' => '', 'parent' => 0, 'slug' => ''); 216 216 $args = wp_parse_args($args, $defaults); 217 extract($args );217 extract($args, EXTR_SKIP); 218 218 219 219 if ( empty($slug) ) … … 383 383 $defaults = array('order' => 'ASC'); 384 384 $args = wp_parse_args( $args, $defaults ); 385 extract($args );385 extract($args, EXTR_SKIP); 386 386 387 387 $terms = array_map('intval', $terms); … … 428 428 $defaults = array('orderby' => 'name', 'order' => 'ASC', 'fields' => 'all'); 429 429 $args = wp_parse_args( $args, $defaults ); 430 extract($args );430 extract($args, EXTR_SKIP); 431 431 432 432 if ( 'count' == $orderby ) … … 490 490 $args['hierarchical'] = false; 491 491 } 492 extract($args );492 extract($args, EXTR_SKIP); 493 493 494 494 if ( $child_of ) {
Note: See TracChangeset
for help on using the changeset viewer.