diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index daaded0b7b..431e0d47b6 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -4,7 +4,7 @@ <?php bloginfo('name') ?> › <?php echo $title; ?> — WordPress - + @@ -75,4 +75,4 @@ require(ABSPATH . '/wp-admin/menu-header.php'); if ( $parent_file == 'options-general.php' ) { require(ABSPATH . '/wp-admin/options-head.php'); } -?> \ No newline at end of file +?> diff --git a/wp-admin/menu.php b/wp-admin/menu.php index 91d36d1b28..9e78cd0c78 100644 --- a/wp-admin/menu.php +++ b/wp-admin/menu.php @@ -13,7 +13,6 @@ $menu[30] = array(__('Options'), 6, 'options-general.php'); $menu[35] = array(__('Plugins'), 8, 'plugins.php'); $menu[40] = array(__('Presentation'), 8, 'themes.php'); $menu[45] = array(__('Upload'), get_settings('fileupload_minlevel'), 'upload.php'); -ksort($menu); // So other files can plugin $submenu['post.php'][5] = array(__('Write Post'), 1, 'post.php'); $submenu['post.php'][10] = array(__('Write Page'), 5, 'page-new.php'); @@ -48,6 +47,7 @@ $submenu['themes.php'][5] = array(__('Themes'), 5, 'themes.php'); $submenu['themes.php'][10] = array(__('Theme Editor'), 5, 'theme-editor.php'); do_action('admin_menu', ''); +ksort($menu); // make it all pretty if (! user_can_access_admin_page()) { die( __('You have do not have sufficient permissions to access this page.') );