Make WordPress Core


Ignore:
Timestamp:
06/14/2007 10:45:40 PM (18 years ago)
Author:
ryan
Message:

Use EXTR_SKIP when extracting. see #4468

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/taxonomy.php

    r5700 r5708  
    4545    $defaults = array('ignore_empty' => false);
    4646    $args = wp_parse_args($args, $defaults);
    47     extract($args);
     47    extract($args, EXTR_SKIP);
    4848
    4949    $where = '';
     
    7070    $args['name'] = $term;
    7171    $args = sanitize_term($args, $taxonomy, 'db');
    72     extract($args);
     72    extract($args, EXTR_SKIP);
    7373
    7474    if ( empty($slug) )
     
    154154    $defaults = array();
    155155    $args = wp_parse_args($args, $defaults);
    156     extract($args);
     156    extract($args, EXTR_SKIP);
    157157
    158158    if ( isset($default) ) {
     
    215215    $defaults = array( 'alias_of' => '', 'description' => '', 'parent' => 0, 'slug' => '');
    216216    $args = wp_parse_args($args, $defaults);
    217     extract($args);
     217    extract($args, EXTR_SKIP);
    218218
    219219    if ( empty($slug) )
     
    383383    $defaults = array('order' => 'ASC');
    384384    $args = wp_parse_args( $args, $defaults );
    385     extract($args);
     385    extract($args, EXTR_SKIP);
    386386
    387387    $terms = array_map('intval', $terms);
     
    428428    $defaults = array('orderby' => 'name', 'order' => 'ASC', 'fields' => 'all');
    429429    $args = wp_parse_args( $args, $defaults );
    430     extract($args);
     430    extract($args, EXTR_SKIP);
    431431
    432432    if ( 'count' == $orderby )
     
    490490        $args['hierarchical'] = false;
    491491    }
    492     extract($args);
     492    extract($args, EXTR_SKIP);
    493493
    494494    if ( $child_of ) {
Note: See TracChangeset for help on using the changeset viewer.