Changeset 36851 for trunk/src/wp-includes/class-wp-customize-manager.php
- Timestamp:
- 03/04/2016 11:46:07 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r36838 r36851 218 218 require_once( ABSPATH . WPINC . '/customize/class-wp-customize-cropped-image-control.php' ); 219 219 require_once( ABSPATH . WPINC . '/customize/class-wp-customize-site-icon-control.php' ); 220 require_once( ABSPATH . WPINC . '/customize/class-wp-customize-custom-logo-control.php' );221 220 require_once( ABSPATH . WPINC . '/customize/class-wp-customize-header-image-control.php' ); 222 221 require_once( ABSPATH . WPINC . '/customize/class-wp-customize-theme-control.php' ); … … 1849 1848 $this->register_control_type( 'WP_Customize_Cropped_Image_Control' ); 1850 1849 $this->register_control_type( 'WP_Customize_Site_Icon_Control' ); 1851 $this->register_control_type( 'WP_Customize_Custom_Logo_Control' );1852 1850 $this->register_control_type( 'WP_Customize_Theme_Control' ); 1853 1851 … … 1966 1964 ) ); 1967 1965 1968 $this->add_control( new WP_Customize_ Custom_Logo_Control( $this, 'custom_logo', array(1966 $this->add_control( new WP_Customize_Media_Control( $this, 'custom_logo', array( 1969 1967 'label' => __( 'Logo' ), 1970 1968 'section' => 'title_tagline', 1971 1969 'priority' => 0, 1970 'mime_type' => 'image', 1971 'button_labels' => array( 1972 'select' => __( 'Select logo' ), 1973 'change' => __( 'Change logo' ), 1974 'remove' => __( 'Remove' ), 1975 'default' => __( 'Default' ), 1976 'placeholder' => __( 'No logo selected' ), 1977 'frame_title' => __( 'Select logo' ), 1978 'frame_button' => __( 'Choose logo' ), 1979 ), 1972 1980 ) ) ); 1973 1981
Note: See TracChangeset
for help on using the changeset viewer.