Changeset 6436 for trunk/wp-includes/widgets.php
- Timestamp:
- 12/20/2007 09:25:12 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/widgets.php
r6381 r6436 204 204 $sidebars_widgets = wp_get_sidebars_widgets(); 205 205 206 if ( empty($wp_registered_sidebars[$index]) || ! is_array($sidebars_widgets[$index]) || empty($sidebars_widgets[$index]) )206 if ( empty($wp_registered_sidebars[$index]) || !array_key_exists($index, $sidebars_widgets) || !is_array($sidebars_widgets[$index]) || empty($sidebars_widgets[$index]) ) 207 207 return false; 208 208
Note: See TracChangeset
for help on using the changeset viewer.