[wp-trac] [WordPress Trac] #26628: Use the content of a video shortcode when provided

WordPress Trac noreply at wordpress.org
Wed Jan 15 19:06:03 UTC 2014


#26628: Use the content of a video shortcode when provided
----------------------------+------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  3.9
Component:  Media           |     Version:  3.6
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------

Comment (by wonderboymusic):

 [attachment:26628.5.diff 26628.5.diff] removes the duped new `plugin.js`
 code - this happened to me almost every time as well when applying patches
 that contained an un `svn add`'d file.

 The `wpautop()` code is necessary, as evidenced by the unit test, which
 was failing in `.4.diff`. I added it back. Without it, all kinds of
 `<br>`s get dropped inside the `<video>` tag.

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


More information about the wp-trac mailing list