[wp-trac] [WordPress Trac] #34527: WP oEmbed: the iframe height attribute doesn't need "px"

WordPress Trac noreply at wordpress.org
Sat Oct 31 14:15:49 UTC 2015


#34527: WP oEmbed: the iframe height attribute doesn't need "px"
----------------------------+-----------------------------------------
 Reporter:  afercia         |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  4.4
Component:  Embeds          |    Version:  trunk
 Severity:  normal          |   Keywords:  needs-patch has-screenshots
  Focuses:  ui, javascript  |
----------------------------+-----------------------------------------
 The iframe height attribute value should be a number, no need for a unit
 measure (not a `style` inline attribute). See the JS for the height
 calculation in `wp-embed.js`

 [[Image(https://cldup.com/ToEPfmhqdK.png)]]

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34527>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list