Ticket #20575: 20575.2.diff
| File 20575.2.diff, 633 bytes (added by , 14 years ago) |
|---|
-
wp-includes/admin-bar.php
576 576 if ( ! current_user_can( 'edit_theme_options' ) ) 577 577 return; 578 578 579 $wp_admin_bar->add_menu( array( 'parent' => 'appearance', 'id' => 'customize', 'title' => __('Customize'), 'href' => wp_customize_url(get_stylesheet()) ) ); 580 579 581 if ( current_theme_supports( 'widgets' ) ) 580 582 $wp_admin_bar->add_menu( array( 'parent' => 'appearance', 'id' => 'widgets', 'title' => __('Widgets'), 'href' => admin_url('widgets.php') ) ); 581 583