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

WordPress Trac noreply at wordpress.org
Fri Jan 17 19:26:38 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 azaozz):

 Opened #26864 for the wpautop() changes. We can consolidate it with the
 `<object>` handling as all three tags behave in a similar way in HTML 5.

 Looking at the shortcode when switching Visual to Text: we need to tweak
 pre_wpautop() a bit. At least add line breaks after it, as currently it's
 merged with the following paragraph. On the front-end when the tag is
 replaced by a div, it's still wrapped in the <p>.

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


More information about the wp-trac mailing list