Changeset 11097 for trunk/wp-includes/widgets.php
- Timestamp:
- 04/27/2009 04:09:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/widgets.php
r11095 r11097 168 168 $settings = $settings[$this->number]; 169 169 // filters the widget's settings, return false to stop displaying the widget 170 $settings = apply_filters('widget_display_callback', $settings, &$this);170 $settings = apply_filters('widget_display_callback', $settings, $this); 171 171 if ( false !== $settings ) 172 172 $this->widget($args, $settings); … … 229 229 230 230 // filters the widget's settings before saving, return false to cancel saving (keep the old settings if updating) 231 $instance = apply_filters('widget_update_callback', $instance, $new_instance, &$this);231 $instance = apply_filters('widget_update_callback', $instance, $new_instance, $this); 232 232 if ( false !== $instance ) 233 233 $all_instances[$number] = $instance; … … 259 259 260 260 // filters the widget admin form before displaying, return false to stop displaying it 261 $instance = apply_filters('widget_form_callback', $instance, &$this);261 $instance = apply_filters('widget_form_callback', $instance, $this); 262 262 if ( false !== $instance ) 263 263 $this->form($instance);
Note: See TracChangeset
for help on using the changeset viewer.