Changeset 37077 for trunk/src/wp-includes/class-wp-customize-manager.php
- Timestamp:
- 03/24/2016 02:01:50 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r37066 r37077 1960 1960 ) ); 1961 1961 1962 $this->add_control( new WP_Customize_Media_Control( $this, 'custom_logo', array( 1963 'label' => __( 'Logo' ), 1964 'section' => 'title_tagline', 1965 'priority' => 8, 1966 'mime_type' => 'image', 1962 $custom_logo_args = get_theme_support( 'custom-logo' ); 1963 $this->add_control( new WP_Customize_Cropped_Image_Control( $this, 'custom_logo', array( 1964 'label' => __( 'Logo' ), 1965 'section' => 'title_tagline', 1966 'priority' => 8, 1967 'height' => $custom_logo_args[0]['height'], 1968 'width' => $custom_logo_args[0]['width'], 1969 'flex_height' => $custom_logo_args[0]['flex-height'], 1970 'flex_width' => $custom_logo_args[0]['flex-width'], 1967 1971 'button_labels' => array( 1968 1972 'select' => __( 'Select logo' ),
Note: See TracChangeset
for help on using the changeset viewer.