Changeset 21016 for trunk/wp-includes/theme.php
- Timestamp:
- 06/07/2012 01:29:57 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r21014 r21016 1579 1579 * Includes and instantiates the WP_Customize_Manager class. 1580 1580 * 1581 * Fires when ? customize=on.1581 * Fires when ?wp_customize=on or on wp-admin/customize.php. 1582 1582 * 1583 1583 * @since 3.4.0 1584 1584 */ 1585 1585 function _wp_customize_include() { 1586 // Load on themes.php or ?customize=on 1587 if ( ! ( ( isset( $_REQUEST['customize'] ) && 'on' == $_REQUEST['customize'] ) || 'customize.php' == basename( $_SERVER['PHP_SELF'] ) ) ) 1586 if ( ! ( ( isset( $_REQUEST['wp_customize'] ) && 'on' == $_REQUEST['wp_customize'] ) 1587 || ( is_admin() && 'customize.php' == basename( $_SERVER['PHP_SELF'] ) ) 1588 ) ) 1588 1589 return; 1589 1590
Note: See TracChangeset
for help on using the changeset viewer.