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
This commit is contained in:
ianbelanger 2020-01-30 19:21:07 +00:00
parent 46a08859d0
commit dae1032531
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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.