From 28befc73cd5fee2a5a8d55483334a72203fe9200 Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Mon, 14 Nov 2016 17:16:04 +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 git-svn-id: https://develop.svn.wordpress.org/trunk@39226 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentyfourteen/functions.php | 2 +- .../themes/twentyfourteen/header.php | 6 +----- .../twentyfourteen/inc/custom-header.php | 1 - .../themes/twentyfourteen/inc/customizer.php | 2 -- .../themes/twentyfourteen/js/functions.js | 19 +++---------------- .../themes/twentyfourteen/style.css | 6 ------ 6 files changed, 5 insertions(+), 31 deletions(-) diff --git a/src/wp-content/themes/twentyfourteen/functions.php b/src/wp-content/themes/twentyfourteen/functions.php index 2db330bd05..74141dc39c 100644 --- a/src/wp-content/themes/twentyfourteen/functions.php +++ b/src/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/src/wp-content/themes/twentyfourteen/header.php b/src/wp-content/themes/twentyfourteen/header.php index 0a4953c5c2..7286d88938 100644 --- a/src/wp-content/themes/twentyfourteen/header.php +++ b/src/wp-content/themes/twentyfourteen/header.php @@ -32,11 +32,7 @@ >
- - - +