Changeset 5376
- Timestamp:
- 05/03/2007 12:43:57 AM (18 years ago)
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/wp-admin/menu.php
r5294 r5376 68 68 69 69 $submenu['themes.php'][5] = array(__('Themes'), 'switch_themes', 'themes.php'); 70 $submenu['themes.php'][7] = array( __( 'Widgets' ), 'edit_themes', 'widgets.php' );71 70 $submenu['themes.php'][10] = array(__('Theme Editor'), 'edit_themes', 'theme-editor.php'); 72 71 -
branches/2.2/wp-includes/functions.php
r5371 r5376 1473 1473 if ( !function_exists( 'dynamic_sidebar' ) ) { 1474 1474 require_once ABSPATH . WPINC . '/widgets.php'; 1475 1476 if ( strpos( $_SERVER['REQUEST_URI'], 'wp-admin' ) !== false && isset( $GLOBALS['submenu'] ) ) { 1477 $GLOBALS['submenu']['themes.php'][7] = array( __( 'Widgets' ), 'edit_themes', 'widgets.php' ); 1478 } 1475 1479 } 1476 1480 } -
trunk/wp-admin/menu.php
r5297 r5376 68 68 69 69 $submenu['themes.php'][5] = array(__('Themes'), 'switch_themes', 'themes.php'); 70 $submenu['themes.php'][7] = array( __( 'Widgets' ), 'edit_themes', 'widgets.php' );71 70 $submenu['themes.php'][10] = array(__('Theme Editor'), 'edit_themes', 'theme-editor.php'); 72 71 -
trunk/wp-includes/functions.php
r5370 r5376 1507 1507 if ( !function_exists( 'dynamic_sidebar' ) ) { 1508 1508 require_once ABSPATH . WPINC . '/widgets.php'; 1509 1510 if ( strpos( $_SERVER['REQUEST_URI'], 'wp-admin' ) !== false && isset( $GLOBALS['submenu'] ) ) { 1511 $GLOBALS['submenu']['themes.php'][7] = array( __( 'Widgets' ), 'edit_themes', 'widgets.php' ); 1512 } 1509 1513 } 1510 1514 }
Note: See TracChangeset
for help on using the changeset viewer.