Changeset 32744 for trunk/src/wp-includes/class-wp-customize-manager.php
- Timestamp:
- 06/12/2015 10:53:39 PM (9 years ago)
- File:
-
- 1 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 }
Note: See TracChangeset
for help on using the changeset viewer.