[wp-trac] [WordPress Trac] #45125: Add theme support for responsive embeds

WordPress Trac noreply at wordpress.org
Fri Dec 14 01:49:50 UTC 2018


#45125: Add theme support for responsive embeds
------------------------------------------------+--------------------------
 Reporter:  desrosj                             |       Owner:
                                                |  danielbachhuber
     Type:  feature request                     |      Status:  closed
 Priority:  normal                              |   Milestone:  5.0
Component:  Themes                              |     Version:
 Severity:  normal                              |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests fixed-5.0  |     Focuses:  rest-api
------------------------------------------------+--------------------------
Changes (by jeremyfelt):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44138" 44138]:
 {{{
 #!CommitTicketReference repository="" revision="44138"
 Themes: Introduce responsive embeds support.

 Responsive embeds is a way for a theme to opt in to WordPress dynamically
 scaling the width/height of an embed. When a theme supports responsive
 embeds, a `wp-embed-responsive` class is added to the `<body>` tag. This
 information is also presented through the REST API for clients to respect.

 Merges [43790] and [43791] from the 5.0 branch to trunk.

 Props desrosj, danielbachhuber, ocean90.
 Fixes #45125.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45125#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list