Changeset 20274
- Timestamp:
- 03/23/2012 10:43:00 PM (13 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-customize.php
r20266 r20274 535 535 // With custom value 536 536 $this->add_setting( 'header_image', array( 537 'label' => ' RandomImage',537 'label' => 'Header Image', 538 538 'section' => 'header', 539 'control' => 'checkbox', 540 // @todo 541 // not the default, it's the value. 542 // value is saved in get_theme_support( 'custom-header', 'random-default' ) 543 'default' => 'random-default-image' 539 'control' => 'upload', 540 'default' => get_theme_support( 'custom-header', 'default-image' ), 544 541 ) ); 545 542 -
trunk/wp-includes/js/customize-controls.dev.js
r20263 r20274 279 279 control.uploader.param( 'post_data[context]', 'custom-background' ); 280 280 }); 281 282 api( 'header_image', function( control ) { 283 control.uploader.param( 'post_data[context]', 'custom-header' ); 284 }); 281 285 }); 282 286
Note: See TracChangeset
for help on using the changeset viewer.