[wp-trac] [WordPress Trac] #30835: [playlist] shortcode not rendered on editor instances not related post content

WordPress Trac noreply at wordpress.org
Fri Jan 16 05:18:19 UTC 2015


#30835: [playlist] shortcode not rendered on editor instances not related post
content
--------------------------+------------------
 Reporter:  marcochiesi   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.2
Component:  Media         |     Version:  4.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------

Comment (by wonderboymusic):

 In [changeset:"31201"]:
 {{{
 #!CommitTicketReference repository="" revision="31201"
 In `wp_ajax_parse_media_shortcode()`, don't require a global `$post` for
 all passed shortcodes.

 `embed` is the only shortcode that requires a post ID. This will allow MCE
 views to work for `playlist`, `audio`, and `video` outside of the Edit
 Post screen.

 See #30835.
 }}}

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


More information about the wp-trac mailing list