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.

git-svn-id: https://develop.svn.wordpress.org/trunk@47135 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ian Belanger 2020-01-30 19:19:37 +00:00
parent a271f98952
commit b651a3cb9e
1 changed files with 3 additions and 0 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