From c397ae61cc82120fcf3455fb44b1094cab0c8ee3 Mon Sep 17 00:00:00 2001 From: matt Date: Fri, 4 Jan 2008 20:18:55 +0000 Subject: [PATCH] Some link manager juggling, still need to have submenu highlight when on sub-sub pages. git-svn-id: http://svn.automattic.com/wordpress/trunk@6555 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-link-categories.php | 4 ++-- wp-admin/link-add.php | 2 +- wp-admin/link-import.php | 3 +-- wp-admin/link-manager.php | 7 ++++--- wp-admin/menu.php | 6 +----- 5 files changed, 9 insertions(+), 13 deletions(-) diff --git a/wp-admin/edit-link-categories.php b/wp-admin/edit-link-categories.php index a036fa6aae..b0a1f0e9c8 100644 --- a/wp-admin/edit-link-categories.php +++ b/wp-admin/edit-link-categories.php @@ -1,8 +1,8 @@ -

+

+

| |

add links to sites that you visit often and share them on your blog. When you have a list of links in your sidebar to other blogs, it’s called a “blogroll.”'); ?>

get_var("SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '0'"); @@ -45,11 +46,6 @@ $submenu['edit.php'][25] = array(__('Media Library'), 'upload_files', 'upload.ph $submenu['edit.php'][30] = array(__('Import'), 'import', 'import.php'); $submenu['edit.php'][35] = array(__('Export'), 'import', 'export.php'); - -$submenu['edit.php'][50] = array(__('Add Link'), 'manage_links', 'link-add.php'); // todo: axe -$submenu['edit.php'][55] = array(__('Import Links'), 'manage_links', 'link-import.php'); // todo: axe -$submenu['edit.php'][60] = array(__('Categories'), 'manage_links', 'edit-link-categories.php'); // todo: axe - if ( current_user_can('edit_users') ) { $_wp_real_parent_file['profile.php'] = 'users.php'; // Back-compat for plugins adding submenus to profile.php. $submenu['users.php'][5] = array(__('Authors & Users'), 'edit_users', 'users.php');