Make WordPress Core

Changeset 28509


Ignore:
Timestamp:
05/19/2014 05:44:49 AM (11 years ago)
Author:
wonderboymusic
Message:

Add missing access modifiers to methods/members in WP_Customize_*.

See #27881, #22234.

Location:
trunk/src/wp-includes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-control.php

    r28170 r28509  
    8888     * @param array $args
    8989     */
    90     function __construct( $manager, $id, $args = array() ) {
     90    public function __construct( $manager, $id, $args = array() ) {
    9191        $keys = array_keys( get_object_vars( $this ) );
    9292        foreach ( $keys as $key ) {
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r28124 r28509  
    191191     * @since 3.4.0
    192192     */
    193     function after_setup_theme() {
     193    public function after_setup_theme() {
    194194        if ( ! $this->doing_ajax() && ! validate_current_theme() ) {
    195195            wp_redirect( 'themes.php?broken=true' );
  • trunk/src/wp-includes/class-wp-customize-section.php

    r27902 r28509  
    9494     * @param array                $args    Section arguments.
    9595     */
    96     function __construct( $manager, $id, $args = array() ) {
     96    public function __construct( $manager, $id, $args = array() ) {
    9797        $keys = array_keys( get_class_vars( __CLASS__ ) );
    9898        foreach ( $keys as $key ) {
  • trunk/src/wp-includes/class-wp-customize-setting.php

    r28319 r28509  
    7676     * @return WP_Customize_Setting $setting
    7777     */
    78     function __construct( $manager, $id, $args = array() ) {
     78    public function __construct( $manager, $id, $args = array() ) {
    7979        $keys = array_keys( get_class_vars( __CLASS__ ) );
    8080        foreach ( $keys as $key ) {
Note: See TracChangeset for help on using the changeset viewer.