From baaaef5b633013d2b082a805fde22a9d70b2b561 Mon Sep 17 00:00:00 2001 From: SergeyBiryukov Date: Wed, 18 Sep 2019 14:50:02 +0000 Subject: [PATCH] Bundled Themes: Declare HTML5 support for scripts and styles. Fixes #42804. git-svn-id: https://develop.svn.wordpress.org/trunk@46165 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfifteen/functions.php | 2 ++ src/wp-content/themes/twentyfourteen/functions.php | 2 ++ src/wp-content/themes/twentynineteen/functions.php | 2 ++ src/wp-content/themes/twentyseventeen/functions.php | 2 ++ src/wp-content/themes/twentysixteen/functions.php | 2 ++ src/wp-content/themes/twentythirteen/functions.php | 2 ++ 6 files changed, 12 insertions(+) diff --git a/src/wp-content/themes/twentyfifteen/functions.php b/src/wp-content/themes/twentyfifteen/functions.php index e7a4676df2..39b9f7b44c 100644 --- a/src/wp-content/themes/twentyfifteen/functions.php +++ b/src/wp-content/themes/twentyfifteen/functions.php @@ -100,6 +100,8 @@ if ( ! function_exists( 'twentyfifteen_setup' ) ) : 'comment-list', 'gallery', 'caption', + 'script', + 'style', ) ); diff --git a/src/wp-content/themes/twentyfourteen/functions.php b/src/wp-content/themes/twentyfourteen/functions.php index fdccdf08bd..47f5141655 100644 --- a/src/wp-content/themes/twentyfourteen/functions.php +++ b/src/wp-content/themes/twentyfourteen/functions.php @@ -144,6 +144,8 @@ if ( ! function_exists( 'twentyfourteen_setup' ) ) : 'comment-list', 'gallery', 'caption', + 'script', + 'style', ) ); diff --git a/src/wp-content/themes/twentynineteen/functions.php b/src/wp-content/themes/twentynineteen/functions.php index 901aa29990..9d9c2c3a04 100644 --- a/src/wp-content/themes/twentynineteen/functions.php +++ b/src/wp-content/themes/twentynineteen/functions.php @@ -74,6 +74,8 @@ if ( ! function_exists( 'twentynineteen_setup' ) ) : 'comment-list', 'gallery', 'caption', + 'script', + 'style', ) ); diff --git a/src/wp-content/themes/twentyseventeen/functions.php b/src/wp-content/themes/twentyseventeen/functions.php index a853d0e98a..3a2e92ecf8 100644 --- a/src/wp-content/themes/twentyseventeen/functions.php +++ b/src/wp-content/themes/twentyseventeen/functions.php @@ -77,6 +77,8 @@ function twentyseventeen_setup() { 'comment-list', 'gallery', 'caption', + 'script', + 'style', ) ); diff --git a/src/wp-content/themes/twentysixteen/functions.php b/src/wp-content/themes/twentysixteen/functions.php index 3329d61608..c180b826f3 100644 --- a/src/wp-content/themes/twentysixteen/functions.php +++ b/src/wp-content/themes/twentysixteen/functions.php @@ -106,6 +106,8 @@ if ( ! function_exists( 'twentysixteen_setup' ) ) : 'comment-list', 'gallery', 'caption', + 'script', + 'style', ) ); diff --git a/src/wp-content/themes/twentythirteen/functions.php b/src/wp-content/themes/twentythirteen/functions.php index 2c0edbe00b..92723d4ea6 100644 --- a/src/wp-content/themes/twentythirteen/functions.php +++ b/src/wp-content/themes/twentythirteen/functions.php @@ -166,6 +166,8 @@ function twentythirteen_setup() { 'comment-list', 'gallery', 'caption', + 'script', + 'style', ) );