From 42d52ce08099f9fae82a1977da0237b32c863e94 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 18 Sep 2019 14:51:56 +0000 Subject: [PATCH] Bundled Themes: Declare HTML5 support for scripts and styles. Fixes #42804. Built from https://develop.svn.wordpress.org/trunk@46165 git-svn-id: http://core.svn.wordpress.org/trunk@45977 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfifteen/functions.php | 2 ++ wp-content/themes/twentyfourteen/functions.php | 2 ++ wp-content/themes/twentynineteen/functions.php | 2 ++ wp-content/themes/twentyseventeen/functions.php | 2 ++ wp-content/themes/twentysixteen/functions.php | 2 ++ wp-content/themes/twentythirteen/functions.php | 2 ++ wp-includes/version.php | 2 +- 7 files changed, 13 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentyfifteen/functions.php b/wp-content/themes/twentyfifteen/functions.php index e7a4676df2..39b9f7b44c 100644 --- a/wp-content/themes/twentyfifteen/functions.php +++ b/wp-content/themes/twentyfifteen/functions.php @@ -100,6 +100,8 @@ if ( ! function_exists( 'twentyfifteen_setup' ) ) : 'comment-list', 'gallery', 'caption', + 'script', + 'style', ) ); diff --git a/wp-content/themes/twentyfourteen/functions.php b/wp-content/themes/twentyfourteen/functions.php index fdccdf08bd..47f5141655 100644 --- a/wp-content/themes/twentyfourteen/functions.php +++ b/wp-content/themes/twentyfourteen/functions.php @@ -144,6 +144,8 @@ if ( ! function_exists( 'twentyfourteen_setup' ) ) : 'comment-list', 'gallery', 'caption', + 'script', + 'style', ) ); diff --git a/wp-content/themes/twentynineteen/functions.php b/wp-content/themes/twentynineteen/functions.php index 901aa29990..9d9c2c3a04 100644 --- a/wp-content/themes/twentynineteen/functions.php +++ b/wp-content/themes/twentynineteen/functions.php @@ -74,6 +74,8 @@ if ( ! function_exists( 'twentynineteen_setup' ) ) : 'comment-list', 'gallery', 'caption', + 'script', + 'style', ) ); diff --git a/wp-content/themes/twentyseventeen/functions.php b/wp-content/themes/twentyseventeen/functions.php index a853d0e98a..3a2e92ecf8 100644 --- a/wp-content/themes/twentyseventeen/functions.php +++ b/wp-content/themes/twentyseventeen/functions.php @@ -77,6 +77,8 @@ function twentyseventeen_setup() { 'comment-list', 'gallery', 'caption', + 'script', + 'style', ) ); diff --git a/wp-content/themes/twentysixteen/functions.php b/wp-content/themes/twentysixteen/functions.php index 3329d61608..c180b826f3 100644 --- a/wp-content/themes/twentysixteen/functions.php +++ b/wp-content/themes/twentysixteen/functions.php @@ -106,6 +106,8 @@ if ( ! function_exists( 'twentysixteen_setup' ) ) : 'comment-list', 'gallery', 'caption', + 'script', + 'style', ) ); diff --git a/wp-content/themes/twentythirteen/functions.php b/wp-content/themes/twentythirteen/functions.php index 2c0edbe00b..92723d4ea6 100644 --- a/wp-content/themes/twentythirteen/functions.php +++ b/wp-content/themes/twentythirteen/functions.php @@ -166,6 +166,8 @@ function twentythirteen_setup() { 'comment-list', 'gallery', 'caption', + 'script', + 'style', ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index cb53fb749d..f597291df3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-46164'; +$wp_version = '5.3-alpha-46165'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.