Changeset 36667
- Timestamp:
- 02/24/2016 01:36:21 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets.php
r36130 r36667 831 831 $sidebars_widgets = get_option('sidebars_widgets'); 832 832 foreach ( (array) $wp_registered_sidebars as $index => $sidebar ) { 833 if ( count($sidebars_widgets[$index]) ) {833 if ( ! empty( $sidebars_widgets[ $index ] ) ) { 834 834 foreach ( (array) $sidebars_widgets[$index] as $widget ) 835 835 if ( array_key_exists($widget, $wp_registered_widgets) )
Note: See TracChangeset
for help on using the changeset viewer.