Changeset 20918
- Timestamp:
- 05/25/2012 10:26:00 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r20893 r20918 100 100 </script> 101 101 102 <?php wp_customize_support_script(); ?> 102 <?php 103 // If the customize-loader script is enqueued, make sure the customize 104 // body classes are correct as early as possible. 105 if ( wp_script_is( 'customize-loader', 'queue' ) ) 106 wp_customize_support_script(); 107 ?> 103 108 104 109 <div id="wpwrap"> -
trunk/wp-includes/admin-bar.php
r20666 r20918 577 577 return; 578 578 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( 580 'parent' => 'appearance', 581 'id' => 'customize', 582 'title' => __('Customize'), 583 'href' => wp_customize_url(get_stylesheet()), 584 'meta' => array( 585 'class' => 'hide-if-no-customize', 586 ), 587 ) ); 588 add_action( 'wp_before_admin_bar_render', 'wp_customize_support_script' ); 580 589 581 590 if ( current_theme_supports( 'widgets' ) ) -
trunk/wp-includes/css/admin-bar.dev.css
r20814 r20918 583 583 584 584 /** 585 * Customize support classes 586 */ 587 .no-customize-support .hide-if-no-customize, 588 .customize-support .hide-if-customize { 589 display: none; 590 } 591 592 /** 585 593 * Retina display 2x icons 586 594 */ -
trunk/wp-includes/theme.php
r20908 r20918 1637 1637 */ 1638 1638 function wp_customize_support_script() { 1639 if ( ! wp_script_is( 'customize-loader', 'queue' ) )1640 return;1641 1642 1639 $admin_origin = parse_url( admin_url() ); 1643 1640 $home_origin = parse_url( home_url() );
Note: See TracChangeset
for help on using the changeset viewer.