Changeset 8258
- Timestamp:
- 07/04/2008 04:16:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/widgets.php
r8063 r8258 65 65 // it's a multi-widget. We only need to show it in the list once. 66 66 $already_shown[] = $widget['callback']; 67 $num = (int) array_pop( explode( '-', $widget['id'] ) );67 $num = (int) array_pop( $ids = explode( '-', $widget['id'] ) ); 68 68 $id_base = $wp_registered_widget_controls[$widget['id']]['id_base']; 69 69 // so that we always add a new one when clicking "add"
Note: See TracChangeset
for help on using the changeset viewer.