Ticket #23509: 23509-refreshed.diff
| File 23509-refreshed.diff, 523 bytes (added by , 12 years ago) |
|---|
-
wp-includes/theme.php
1750 1750 }()); 1751 1751 </script> 1752 1752 <?php 1753 } 1754 1755 /** 1756 * Returns true if the site is being previewed in the Customizer 1757 * 1758 * @since 3.8.0 1759 * @return bool 1760 */ 1761 function is_customizer() { 1762 global $wp_customize; 1763 return is_a( $wp_customize, 'WP_Customize_Manager' ) && $wp_customize->is_preview(); 1753 1764 } 1765 No newline at end of file