Changeset 25226
- Timestamp:
- 09/04/2013 05:10:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/widgets.php
r22812 r25226 183 183 if ( isset($_GET['addnew']) ) { 184 184 // Default to the first sidebar 185 $sidebar = array_shift( $keys = array_keys($wp_registered_sidebars) ); 185 $keys = array_keys( $wp_registered_sidebars ); 186 $sidebar = array_shift( $keys ); 186 187 187 188 if ( isset($_GET['base']) && isset($_GET['num']) ) { // multi-widget
Note: See TracChangeset
for help on using the changeset viewer.