[wp-trac] [WordPress Trac] #30875: address non-integer add_filter priority (was: enforce integers in add_filter priority)
WordPress Trac
noreply at wordpress.org
Fri Feb 23 05:57:50 UTC 2024
#30875: address non-integer add_filter priority
-----------------------------+-------------------------
Reporter: drrobotnik | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Plugins | Version: 4.1
Severity: normal | Resolution: maybelater
Keywords: has-patch close | Focuses:
-----------------------------+-------------------------
Comment (by drrobotnik):
When I originally opened this issue I was chaffing up against clever
plugin/theme developers using negative numbers and strings to subvert the
documented hook/filter priority. The solution seemed to be to do the thing
I was chaffing against. That said, 9 years later I think a long term PHP
deprecation and/or "you're doing it wrong" notice would be acceptable.
@hellofromTonya, thanks for re-opening the conversation.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30875#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list