From dae1032531666cd4a24895aeb60a2edd25594888 Mon Sep 17 00:00:00 2001 From: ianbelanger Date: Thu, 30 Jan 2020 19:21:07 +0000 Subject: [PATCH] Bundled Themes: Twenty Twenty add theme support for responsive embeds. Adds the call to `responsive-embed` theme support in order to fix issues with facebook embeds not being responsive at certain screen widths. Props williampatton, nielslange. Fixes #48552. Built from https://develop.svn.wordpress.org/trunk@47135 git-svn-id: http://core.svn.wordpress.org/trunk@46935 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwenty/functions.php | 3 +++ wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentytwenty/functions.php b/wp-content/themes/twentytwenty/functions.php index 049bbec5af..1ce76a6f6d 100644 --- a/wp-content/themes/twentytwenty/functions.php +++ b/wp-content/themes/twentytwenty/functions.php @@ -119,6 +119,9 @@ function twentytwenty_theme_support() { // Add support for full and wide align images. add_theme_support( 'align-wide' ); + // Add support for responsive embeds. + add_theme_support( 'responsive-embeds' ); + /* * Adds starter content to highlight the theme on fresh sites. * This is done conditionally to avoid loading the starter content on every diff --git a/wp-includes/version.php b/wp-includes/version.php index a1629c36e9..a6651c373f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-47134'; +$wp_version = '5.4-alpha-47135'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.