[wp-trac] [WordPress Trac] #25378: Initialise $wp_filter and $merged_filters

WordPress Trac noreply at wordpress.org
Sun Sep 22 02:20:42 UTC 2013


#25378: Initialise $wp_filter and $merged_filters
--------------------------+-----------------------------
 Reporter:  rmccue        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  trivial       |   Keywords:  has-patch
--------------------------+-----------------------------
 At the moment, `$wp_filter` and `$merged_filters` are never actually
 initialised, they just kind of... pop into existence. `$wp_actions` is
 checked, but that's done on every call of `do_action`, where we could just
 do them all globally.

 Attached patch does just that.

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


More information about the wp-trac mailing list