Make WordPress Core

Changeset 20666


Ignore:
Timestamp:
05/01/2012 12:47:46 PM (13 years ago)
Author:
ryan
Message:

Add a link to the Customizer from the Admin Bar appearance menu. Props sabreuse. fixes #20575

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/admin-bar.php

    r20449 r20666  
    577577        return;
    578578
     579    $wp_admin_bar->add_menu( array( 'parent' => 'appearance', 'id' => 'customize', 'title' => __('Customize'), 'href' => wp_customize_url(get_stylesheet()) ) );
     580
    579581    if ( current_theme_supports( 'widgets' )  )
    580582        $wp_admin_bar->add_menu( array( 'parent' => 'appearance', 'id' => 'widgets', 'title' => __('Widgets'), 'href' => admin_url('widgets.php') ) );
Note: See TracChangeset for help on using the changeset viewer.