From 9ef40ced2f061c145e3d462db769961f8b94ff6e Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Mon, 14 Nov 2016 17:17:31 +0000 Subject: [PATCH] Twenty Fourteen: Removes video header support Support was added to test implementation but never completed. This removes the test implementation. Props davidakennedy Fixes #38783 Built from https://develop.svn.wordpress.org/trunk@39226 git-svn-id: http://core.svn.wordpress.org/trunk@39166 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../themes/twentyfourteen/functions.php | 2 +- wp-content/themes/twentyfourteen/header.php | 6 +----- .../twentyfourteen/inc/custom-header.php | 1 - .../themes/twentyfourteen/inc/customizer.php | 2 -- .../themes/twentyfourteen/js/functions.js | 19 +++---------------- wp-content/themes/twentyfourteen/style.css | 6 ------ wp-includes/version.php | 2 +- 7 files changed, 6 insertions(+), 32 deletions(-) diff --git a/wp-content/themes/twentyfourteen/functions.php b/wp-content/themes/twentyfourteen/functions.php index 2db330bd05..74141dc39c 100644 --- a/wp-content/themes/twentyfourteen/functions.php +++ b/wp-content/themes/twentyfourteen/functions.php @@ -434,7 +434,7 @@ function twentyfourteen_body_classes( $classes ) { $classes[] = 'group-blog'; } - if ( get_header_image() || function_exists( 'has_header_video' ) && has_header_video() ) { + if ( get_header_image() ) { $classes[] = 'header-image'; } elseif ( ! in_array( $GLOBALS['pagenow'], array( 'wp-activate.php', 'wp-signup.php' ) ) ) { $classes[] = 'masthead-fixed'; diff --git a/wp-content/themes/twentyfourteen/header.php b/wp-content/themes/twentyfourteen/header.php index 0a4953c5c2..7286d88938 100644 --- a/wp-content/themes/twentyfourteen/header.php +++ b/wp-content/themes/twentyfourteen/header.php @@ -32,11 +32,7 @@ >
- - - +