Remove code commented out in [19006]. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5bfc91f5ee
commit
f70954c422
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue