Changes in trunk/wp-includes/widgets.php [16521:18096]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/widgets.php
r16521 r18096 75 75 */ 76 76 function WP_Widget( $id_base = false, $name, $widget_options = array(), $control_options = array() ) { 77 $this->__construct( $id_base, $name, $widget_options, $control_options );77 WP_Widget::__construct( $id_base, $name, $widget_options, $control_options ); 78 78 } 79 79 … … 855 855 856 856 $sidebars_widgets = wp_get_sidebars_widgets(); 857 if ( empty( $sidebars_widgets ) ) 858 return false; 857 859 858 860 if ( empty($wp_registered_sidebars[$index]) || !array_key_exists($index, $sidebars_widgets) || !is_array($sidebars_widgets[$index]) || empty($sidebars_widgets[$index]) ) … … 898 900 899 901 /** 900 * Whether widget is display ied on the front-end.902 * Whether widget is displayed on the front-end. 901 903 * 902 904 * Either $callback or $id_base can be used
Note: See TracChangeset
for help on using the changeset viewer.