[wp-trac] [WordPress Trac] #10625: HTTP API wrongly uses has_action() before it's hooks

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 16 10:00:32 UTC 2009


#10625: HTTP API wrongly uses has_action() before it's hooks
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |       Owner:  dd32     
     Type:  defect (bug)  |      Status:  new      
 Priority:  lowest        |   Milestone:  2.9      
Component:  HTTP          |     Version:  2.9      
 Severity:  trivial       |    Keywords:  has-patch
--------------------------+-------------------------------------------------
 Before calling `do_action()`, the HTTP API first does a `has_action()`
 check. Besides being rather pointless (there's no performance improvement
 to speak of), it prevents the `all` action from running.

 It should be removed.

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


More information about the wp-trac mailing list