From f70954c422e0dda7e7091b60e5fb698db4e5a414 Mon Sep 17 00:00:00 2001 From: nacin Date: Thu, 20 Oct 2011 14:33:18 +0000 Subject: [PATCH] Remove code commented out in [19006]. see #18197. git-svn-id: http://svn.automattic.com/wordpress/trunk@19026 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/admin-bar.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/wp-includes/admin-bar.php b/wp-includes/admin-bar.php index d8928a654..d3c46c884 100644 --- a/wp-includes/admin-bar.php +++ b/wp-includes/admin-bar.php @@ -572,15 +572,6 @@ function wp_admin_bar_appearance_menu( $wp_admin_bar ) { if ( ! current_user_can('switch_themes') && ! current_user_can( 'edit_theme_options' ) ) return; - /* take the subs one level up - $wp_admin_bar->add_menu( array( - 'id' => 'appearance', - 'title' => __('Appearance'), - 'href' => admin_url('themes.php'), - 'parent' => 'site-name', - ) ); - */ - if ( ! current_user_can( 'edit_theme_options' ) ) return;