Changeset 39123
- Timestamp:
- 11/03/2016 07:01:16 PM (8 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/custom-header.php
r38719 r39123 640 640 <?php endif; 641 641 642 $default_image = get_theme_support( 'custom-header', 'default-image');642 $default_image = sprintf( get_theme_support( 'custom-header', 'default-image' ), get_template_directory_uri(), get_stylesheet_directory_uri() ); 643 643 if ( $default_image && get_header_image() != $default_image ) : ?> 644 644 <tr> -
trunk/src/wp-includes/class-wp-customize-manager.php
r39100 r39123 3440 3440 3441 3441 $this->add_setting( new WP_Customize_Filter_Setting( $this, 'header_image', array( 3442 'default' => get_theme_support( 'custom-header', 'default-image'),3442 'default' => sprintf( get_theme_support( 'custom-header', 'default-image' ), get_template_directory_uri(), get_stylesheet_directory_uri() ), 3443 3443 'theme_supports' => 'custom-header', 3444 3444 ) ) ); 3445 3445 3446 3446 $this->add_setting( new WP_Customize_Header_Image_Setting( $this, 'header_image_data', array( 3447 // 'default' => get_theme_support( 'custom-header', 'default-image' ),3448 3447 'theme_supports' => 'custom-header', 3449 3448 ) ) );
Note: See TracChangeset
for help on using the changeset viewer.