Changeset 20319 for trunk/wp-includes/class-wp-customize.php
- Timestamp:
- 03/29/2012 06:35:54 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-customize.php
r20306 r20319 586 586 ) ); 587 587 588 $this->add_control( 'header_image', array(588 $this->add_control( new WP_Customize_Image_Control( $this, 'header_image', array( 589 589 'label' => 'Header Image', 590 590 'section' => 'header', 591 'type' => 'image', 592 'control_params' => array( 593 'context' => 'custom-header', 594 'removed' => 'remove-header', 595 'get_url' => 'get_header_image', 596 'tabs' => array( 597 array( 'uploaded', __('Uploaded'), 'wp_customize_print_uploaded_headers' ), 598 array( 'included', __('Included'), 'wp_customize_print_included_headers' ), 599 ), 591 'context' => 'custom-header', 592 'removed' => 'remove-header', 593 'get_url' => 'get_header_image', 594 'tabs' => array( 595 array( 'uploaded', __('Uploaded'), 'wp_customize_print_uploaded_headers' ), 596 array( 'included', __('Included'), 'wp_customize_print_included_headers' ), 600 597 ), 601 ) ) ;598 ) ) ); 602 599 603 600 /* Custom Background */ … … 628 625 ) ); 629 626 630 $this->add_control( 'background_image', array(627 $this->add_control( new WP_Customize_Upload_Control( $this, 'background_image', array( 631 628 'label' => __( 'Background Image' ), 632 629 'section' => 'background', 633 630 'type' => 'upload', 634 'control_params' => array( 635 'context' => 'custom-background', 636 ), 637 ) ); 631 'context' => 'custom-background', 632 ) ) ); 638 633 639 634 $this->add_setting( 'background_repeat', array(
Note: See TracChangeset
for help on using the changeset viewer.