Make WordPress Core


Ignore:
Timestamp:
05/26/2012 03:32:05 PM (13 years ago)
Author:
nacin
Message:

Theme Customizer: As customize.php without a theme parameter defaults to the current theme, update wp_customize_url() to make $stylesheet optional and update references for the current theme.

see #19910, #20751, #20575.

File:
1 edited

Legend:

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

    r20918 r20934  
    581581        'id'     => 'customize',
    582582        'title'  => __('Customize'),
    583         'href'   => wp_customize_url(get_stylesheet()),
     583        'href'   => wp_customize_url(),
    584584        'meta'   => array(
    585585            'class' => 'hide-if-no-customize',
Note: See TracChangeset for help on using the changeset viewer.