Changeset 5400 for branches/2.2/wp-includes/functions.php
- Timestamp:
- 05/06/2007 08:35:51 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/wp-includes/functions.php
r5397 r5400 1491 1491 if ( !function_exists( 'dynamic_sidebar' ) ) { 1492 1492 require_once ABSPATH . WPINC . '/widgets.php'; 1493 add_action( ' admin_head', 'wp_widgets_admin_page' );1494 } 1495 } 1496 1497 function wp_widgets_ad min_page() {1493 add_action( '_admin_menu', 'wp_widgets_add_menu' ); 1494 } 1495 } 1496 1497 function wp_widgets_add_menu() { 1498 1498 global $submenu; 1499 1499 $submenu['themes.php'][7] = array( __( 'Widgets' ), 'edit_themes', 'widgets.php' ); 1500 ksort($submenu['themes.php'], SORT_NUMERIC); 1500 1501 } 1501 1502
Note: See TracChangeset
for help on using the changeset viewer.