[wp-trac] [WordPress Trac] #18236: Change hook 'post_edit_form_tag' from an action to a filter

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 25 05:46:50 UTC 2011


#18236: Change hook 'post_edit_form_tag' from an action to a filter
------------------------------------+------------------------------
 Reporter:  mikeschinkel            |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Upload                  |     Version:  3.2.1
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------

Comment (by nacin):

 Yeah, an action here is kind of messy, but it was consistent with other
 areas. As dd32 said, attached actions will nuke filters, and then it's a
 priorities game. You don't need to muck with internals. One could do
 `remove_all_actions( 'post_edit_form_tag' )`, no?

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


More information about the wp-trac mailing list