[wp-trac] [WordPress Trac] #30862: Remove negative priority on actions
WordPress Trac
noreply at wordpress.org
Wed Dec 31 20:51:50 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 drrobotnik):
The benefit raised here is preventing developers from setting priorities
before core and enforcing that they queue properly. There is nothing
preventing the developer from dequeuing the core action, running his
method, and then re-queuing the core action after. I'd argue that that is
the correct way to queue actions.
I've already said that it won't "break" anything, it will correctly adjust
the priority fixing the hack. Show me a valid reason to set a negative
index.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30862#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list