Changeset 34554
- Timestamp:
- 09/25/2015 07:35:48 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme.php
r34028 r34554 1898 1898 * Includes and instantiates the WP_Customize_Manager class. 1899 1899 * 1900 * Fires on a preview frame request (when ?wp_customize=on is in the URL) and 1901 * on the Customizer interface page (wp-admin/customize.php). 1900 * Loads the Customizer at plugins_loaded when accessing the customize.php admin 1901 * page or when any request includes a wp_customize=on param, either as a GET 1902 * query var or as POST data. This param is a signal for whether to bootstrap 1903 * the Customizer when WordPress is loading, especially in the Customizer preview 1904 * or when making Customizer Ajax requests for widgets or menus. 1902 1905 * 1903 1906 * @since 3.4.0 … … 1908 1911 if ( ! ( ( isset( $_REQUEST['wp_customize'] ) && 'on' == $_REQUEST['wp_customize'] ) 1909 1912 || ( is_admin() && 'customize.php' == basename( $_SERVER['PHP_SELF'] ) ) 1910 ) ) 1913 ) ) { 1911 1914 return; 1915 } 1912 1916 1913 1917 require_once ABSPATH . WPINC . '/class-wp-customize-manager.php';
Note: See TracChangeset
for help on using the changeset viewer.