Make WordPress Core


Ignore:
Timestamp:
06/15/2007 05:45:21 PM (18 years ago)
Author:
ryan
Message:

Use EXTR_SKIP when extracting. For 2.2. See #4468

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/wp-includes/widgets.php

    r5688 r5714  
    390390function wp_widget_links($args) {
    391391    global $wp_db_version;
    392     extract($args);
     392    extract($args, EXTR_SKIP);
    393393    if ( $wp_db_version < 3582 ) {
    394394        // This ONLY works with li/h2 sidebars.
     
    806806function wp_widget_rss($args, $number = 1) {
    807807    require_once(ABSPATH . WPINC . '/rss.php');
    808     extract($args);
     808    extract($args, EXTR_SKIP);
    809809    $options = get_option('widget_rss');
    810810    if ( isset($options['error']) && $options['error'] )
Note: See TracChangeset for help on using the changeset viewer.