Changeset 10631
- Timestamp:
- 02/23/2009 06:12:53 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/widgets.php
r10605 r10631 90 90 91 91 // Prophylactic. Take out empty ids. 92 foreach ( (array) $_POST['widget-id'] as $key => $val ) 93 if ( !$val ) 94 unset($_POST['widget-id'][$key]); 92 if ( isset($_POST['widget-id']) ) { 93 foreach ( (array) $_POST['widget-id'] as $key => $val ) { 94 if ( !$val ) 95 unset($_POST['widget-id'][$key]); 96 } 97 } 95 98 96 99 // Reset the key numbering and store
Note: See TracChangeset
for help on using the changeset viewer.