WordPress.org

Make WordPress Core

Changeset 11030


Ignore:
Timestamp:
04/21/09 19:40:20 (6 years ago)
Author:
ryan
Message:

Handle upgrade of old text widgets. Props Denis-de-Bernardy. fixes #9608

File:
1 edited

Legend:

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

    r11013 r11030  
    963963        $single = true; 
    964964    } else { 
     965        if ( isset($settings['number']) ) 
     966            unset($settings['number']); 
    965967        foreach ( array_keys($settings) as $number ) { 
    966968            if ( !is_numeric($number) ) { 
Note: See TracChangeset for help on using the changeset viewer.