Changeset 27224 for trunk/src/wp-includes/widgets.php
- Timestamp:
- 02/21/2014 06:50:08 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/widgets.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets.php
r26868 r27224 184 184 } 185 185 186 /** Deal with changed settings. 187 * Do NOT over-ride this function. */ 188 function update_callback( $widget_args = 1 ) { 186 /** 187 * Deal with changed settings. 188 * 189 * Do NOT over-ride this function. 190 * 191 * @param mixed $deprecated Not used. 192 */ 193 function update_callback( $deprecated = 1 ) { 189 194 global $wp_registered_widgets; 190 195 191 if ( is_numeric($widget_args) )192 $widget_args = array( 'number' => $widget_args );193 194 $widget_args = wp_parse_args( $widget_args, array( 'number' => -1 ) );195 196 $all_instances = $this->get_settings(); 196 197
Note: See TracChangeset
for help on using the changeset viewer.