[wp-trac] [WordPress Trac] #28113: class-wp-embed. height alwase 960 in $attr

WordPress Trac noreply at wordpress.org
Sat May 3 23:46:01 UTC 2014


#28113: class-wp-embed. height alwase 960 in $attr
--------------------------+-----------------------------
 Reporter:  alexufo       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Embeds        |    Version:  3.9
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 1) open class-wp-embed.php at 185 and look for:
 {{{
 #!php
 $cachekey = '_oembed_' . md5( $url . serialize( $attr ) );
 }}}
 2) add after
 {{{
 #!php
 _log($attr);
 }}}
 and save file

 3) reload any page of your blog with embeded content
 ( or any post with any youtube link example:
 http://www.youtube.com/watch?v=s3Mp7FY9oU0  )

 4) open debug.log and see $attr array. The height will be always 960. Its
 never change by any embed url. I think 960 should be like attr height of
 embed html data.

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


More information about the wp-trac mailing list