Changeset 32744
- Timestamp:
- 06/12/2015 10:53:39 PM (9 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r32658 r32744 910 910 * @param string $setting_class WP_Customize_Setting or a subclass. 911 911 * @param string $setting_id ID for dynamic setting, usually coming from `$_POST['customized']`. 912 * @param string$setting_args WP_Customize_Setting or a subclass.912 * @param array $setting_args WP_Customize_Setting or a subclass. 913 913 */ 914 914 $setting_class = apply_filters( 'customize_dynamic_setting_class', $setting_class, $setting_id, $setting_args ); … … 1206 1206 1207 1207 foreach ( $this->sections as $section ) { 1208 if ( ! $section->check_capabilities() || ! $section->controls) {1208 if ( ! $section->check_capabilities() ) { 1209 1209 continue; 1210 1210 } … … 1229 1229 1230 1230 foreach ( $this->panels as $panel ) { 1231 if ( ! $panel->check_capabilities() || ! $panel->sections) {1231 if ( ! $panel->check_capabilities() ) { 1232 1232 continue; 1233 1233 } -
trunk/src/wp-includes/theme.php
r32650 r32744 1993 1993 return; 1994 1994 1995 require( ABSPATH . WPINC . '/class-wp-customize-manager.php' ); 1996 // Init Customize class 1997 $GLOBALS['wp_customize'] = new WP_Customize_Manager; 1995 require_once ABSPATH . WPINC . '/class-wp-customize-manager.php'; 1996 $GLOBALS['wp_customize'] = new WP_Customize_Manager(); 1998 1997 } 1999 1998
Note: See TracChangeset
for help on using the changeset viewer.