[wp-trac] [WordPress Trac] #25313: Video and audio shortcode callback functions wrapped in a filter, but too early to be hooked onto

WordPress Trac noreply at wordpress.org
Fri Sep 13 15:47:58 UTC 2013


#25313: Video and audio shortcode callback functions wrapped in a filter, but too
early to be hooked onto
--------------------------+-----------------------------
 Reporter:  ericlewis     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  3.6
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 In the add_shortcode calls for the video and audio shortcodes, both seem
 to offer developers the option to register their own callback for this
 shortcode by wrapping the default callback in a wrapper. However,
 media.php is loaded before even mu-plugins, so there is no way save
 hacking core to add a filter here.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25313>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list