diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 4f4d3e53f8..2e63b7e2dd 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -2270,6 +2270,13 @@ function _media_states( $post ) { $media_states[] = __( 'Current Header Image' ); } } + + if ( get_theme_support( 'custom-header', 'video' ) && has_header_video() ) { + $mods = get_theme_mods(); + if ( isset( $mods['header_video'] ) && $post->ID === $mods['header_video'] ) { + $media_states[] = __( 'Current Header Video' ); + } + } } if ( current_theme_supports( 'custom-background' ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 450303885c..bacc9e248b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-49204'; +$wp_version = '5.6-alpha-49205'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.