WordPress.org

Make WordPress Core

Ticket #20575: 20575.whitespace.patch

File 20575.whitespace.patch, 797 bytes (added by SergeyBiryukov, 2 years ago)
  • wp-includes/admin-bar.php

     
    576576        if ( ! current_user_can( 'edit_theme_options' ) ) 
    577577                return; 
    578578 
    579         $wp_admin_bar->add_menu( array( 'parent' => 'appearance', 'id' => 'customize', 'title' => __('Customize'), 'href' => wp_customize_url(get_stylesheet()) ) ); 
     579        $wp_admin_bar->add_menu( array( 'parent' => 'appearance', 'id' => 'customize', 'title' => __('Customize'), 'href' => wp_customize_url( get_stylesheet() ) ) ); 
    580580 
    581581        if ( current_theme_supports( 'widgets' )  ) 
    582582                $wp_admin_bar->add_menu( array( 'parent' => 'appearance', 'id' => 'widgets', 'title' => __('Widgets'), 'href' => admin_url('widgets.php') ) );