Make WordPress Core

Changeset 47135


Ignore:
Timestamp:
01/30/2020 07:19:37 PM (7 years ago)
Author:
ianbelanger
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/functions.php

    r47122 r47135  
    120120        add_theme_support( 'align-wide' );
    121121
     122        // Add support for responsive embeds.
     123        add_theme_support( 'responsive-embeds' );
     124               
    122125        /*
    123126         * Adds starter content to highlight the theme on fresh sites.
Note: See TracChangeset for help on using the changeset viewer.