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

WordPress Trac noreply at wordpress.org
Mon Oct 22 19:57:10 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 commit  |     Focuses:  rest-api
---------------------------------------------+-----------------------------
Changes (by danielbachhuber):

 * owner:  (none) => danielbachhuber
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"43790" 43790]:
 {{{
 #!CommitTicketReference repository="" revision="43790"
 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.

 Props desrosj.
 Fixes #45125.
 }}}

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


More information about the wp-trac mailing list