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

WordPress Trac noreply at wordpress.org
Fri Sep 13 17:10:37 UTC 2013


#25313: Video and audio shortcode callback functions wrapped in a filter, but
executed too early to be hooked onto
--------------------------+------------------
 Reporter:  ericlewis     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.7
Component:  Media         |     Version:  3.6
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------

Comment (by ericlewis):

 Piggybacking on Sergey's work, attachment:25313.4.patch:

 * changes the new filter's name to wp_(audio|video)_shortcode_override, as
 the filter isn't a handler
 * passes $instances into the filter, as this can be handy in the
 overriding function to give separate media instances independent names.

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


More information about the wp-trac mailing list