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

WordPress Trac noreply at wordpress.org
Tue Dec 30 13:57:48 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:                |     Focuses:
--------------------------+------------------------------

Comment (by jdgrimes):

 While negative values probably weren't intended when the system was
 designed, they are being used now, and any change there is going to break
 some plugins. For the sake of backward compatibility, it might be better
 to issue a `_doing_it_wrong()` notice for a few releases first, but not
 change anything until plugins have had time to adjust.

 Priorities for filters were added in [853]. There is no ticket associated
 with that commit, so we've no way of knowing what Matt had in mind as far
 as negative priorities.

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


More information about the wp-trac mailing list