[wp-trac] [WordPress Trac] #19321: get_search_form() function calls an action and a filter with the same hook.

WordPress Trac noreply at wordpress.org
Tue Nov 20 22:18:42 UTC 2012


#19321: get_search_form() function calls an action and a filter with the same hook.
--------------------------+------------------------------
 Reporter:  marquex       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Template      |     Version:  2.7
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by WraithKenny):

 you could add a `did_action` check if you'd like it to fire only once.

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


More information about the wp-trac mailing list