diff --git a/wp-includes/class-wp-customize-control.php b/wp-includes/class-wp-customize-control.php index 3541ebf98d..7506a500df 100644 --- a/wp-includes/class-wp-customize-control.php +++ b/wp-includes/class-wp-customize-control.php @@ -87,7 +87,7 @@ class WP_Customize_Control { * @param string $id * @param array $args */ - function __construct( $manager, $id, $args = array() ) { + public function __construct( $manager, $id, $args = array() ) { $keys = array_keys( get_object_vars( $this ) ); foreach ( $keys as $key ) { if ( isset( $args[ $key ] ) ) diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php index 8ed4e699a5..eeb4fdc100 100644 --- a/wp-includes/class-wp-customize-manager.php +++ b/wp-includes/class-wp-customize-manager.php @@ -190,7 +190,7 @@ final class WP_Customize_Manager { * * @since 3.4.0 */ - function after_setup_theme() { + public function after_setup_theme() { if ( ! $this->doing_ajax() && ! validate_current_theme() ) { wp_redirect( 'themes.php?broken=true' ); exit; diff --git a/wp-includes/class-wp-customize-section.php b/wp-includes/class-wp-customize-section.php index e96f3865e7..2a9214f19e 100644 --- a/wp-includes/class-wp-customize-section.php +++ b/wp-includes/class-wp-customize-section.php @@ -93,7 +93,7 @@ class WP_Customize_Section { * @param string $id An specific ID of the section. * @param array $args Section arguments. */ - function __construct( $manager, $id, $args = array() ) { + public function __construct( $manager, $id, $args = array() ) { $keys = array_keys( get_class_vars( __CLASS__ ) ); foreach ( $keys as $key ) { if ( isset( $args[ $key ] ) ) diff --git a/wp-includes/class-wp-customize-setting.php b/wp-includes/class-wp-customize-setting.php index c8678738b8..4bca44252e 100644 --- a/wp-includes/class-wp-customize-setting.php +++ b/wp-includes/class-wp-customize-setting.php @@ -75,7 +75,7 @@ class WP_Customize_Setting { * @param array $args Setting arguments. * @return WP_Customize_Setting $setting */ - function __construct( $manager, $id, $args = array() ) { + public function __construct( $manager, $id, $args = array() ) { $keys = array_keys( get_class_vars( __CLASS__ ) ); foreach ( $keys as $key ) { if ( isset( $args[ $key ] ) )