[wp-trac] [WordPress Trac] #30862: Remove negative priority on actions

WordPress Trac noreply at wordpress.org
Wed Dec 31 21:14:52 UTC 2014


#30862: Remove negative priority on actions
-------------------------------+------------------------------
 Reporter:  drrobotnik         |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Plugins            |     Version:  4.1
 Severity:  normal             |  Resolution:
 Keywords:  close 2nd-opinion  |     Focuses:
-------------------------------+------------------------------

Comment (by JustinSainton):

 Another +1 on wontfix.  When attempting to remove_action() on a known
 negative priority, the suggestions made in the original post would cause
 that to fail.  For that back compat reason alone (aside from the fact that
 nothing in the Hooks API suggests that negative priorities are forbidden),
 I vote wontfix.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30862#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list