summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-admin/menu.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-02-21 12:59:22 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-02-21 12:59:22 +0000
commit433d32693df5a6957c577fde7383c2d8174fc06e (patch)
tree908a0ea48cde229c7aba6d6bb5aee1229c624a04 /wp-inst/wp-admin/menu.php
parent0d11319eaf16b05640c9393ef1be7a3d9c1cd4e9 (diff)
downloadwordpress-mu-433d32693df5a6957c577fde7383c2d8174fc06e.tar.gz
wordpress-mu-433d32693df5a6957c577fde7383c2d8174fc06e.tar.xz
wordpress-mu-433d32693df5a6957c577fde7383c2d8174fc06e.zip
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@532 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-admin/menu.php')
-rw-r--r--wp-inst/wp-admin/menu.php11
1 files changed, 3 insertions, 8 deletions
diff --git a/wp-inst/wp-admin/menu.php b/wp-inst/wp-admin/menu.php
index 2c446e6..5833c8e 100644
--- a/wp-inst/wp-admin/menu.php
+++ b/wp-inst/wp-admin/menu.php
@@ -10,7 +10,7 @@ if( is_array( $menu_perms ) == false )
$menu_perms = array();
$menu[0] = array(__('Dashboard'), 'read', 'index.php');
-$menu[5] = array(__('Write'), 'edit_posts', 'post.php');
+$menu[5] = array(__('Write'), 'edit_posts', 'post-new.php');
$menu[10] = array(__('Manage'), 'edit_posts', 'edit.php');
$menu[20] = array(__('Links'), 'manage_links', 'link-manager.php');
$menu[25] = array(__('Presentation'), 'switch_themes', 'themes.php');
@@ -23,13 +23,8 @@ else
$menu[40] = array(__('Options'), 'manage_options', 'options-general.php');
$menu[45] = array(__('Import'), 'import', 'import.php');
-/*
-if ( get_option('use_fileupload') )
- $menu[50] = array(__('Upload'), 'upload_files', 'upload.php');
-*/
-
-$submenu['post.php'][5] = array(__('Write Post'), 'edit_posts', 'post.php');
-$submenu['post.php'][10] = array(__('Write Page'), 'edit_pages', 'page-new.php');
+$submenu['post-new.php'][5] = array(__('Write Post'), 'edit_posts', 'post-new.php');
+$submenu['post-new.php'][10] = array(__('Write Page'), 'edit_pages', 'page-new.php');
$submenu['edit.php'][5] = array(__('Posts'), 'edit_posts', 'edit.php');
$submenu['edit.php'][10] = array(__('Pages'), 'edit_pages', 'edit-pages.php');