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

WordPress Trac noreply at wordpress.org
Fri Nov 24 07:02:16 UTC 2017


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

Comment (by lev0):

 I'm glad this was //wontfix//'d. A concrete example is in `wp-includes
 /default-filters.php`: `add_action( 'shutdown', 'wp_ob_end_flush_all', 1
 );`
 Without negative priority, how would one delay processing something as
 much as possible but still be included in the normal output?

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


More information about the wp-trac mailing list