Changeset 39227 for trunk/src/wp-includes/class-wp-customize-manager.php
- Timestamp:
- 11/14/2016 06:40:08 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r39205 r39227 3463 3463 ) ) ); 3464 3464 3465 /* 3466 * Switch image settings to postMessage when video support is enabled since 3467 * it entails that the_custom_header_markup() will be used, and thus selective 3468 * refresh can be utilized. 3469 */ 3470 if ( current_theme_supports( 'custom-header', 'video' ) ) { 3471 $this->get_setting( 'header_image' )->transport = 'postMessage'; 3472 $this->get_setting( 'header_image_data' )->transport = 'postMessage'; 3473 } 3474 3465 3475 $this->add_control( new WP_Customize_Media_Control( $this, 'header_video', array( 3466 3476 'theme_supports' => array( 'custom-header', 'video' ),
Note: See TracChangeset
for help on using the changeset viewer.