[wp-trac] [WordPress Trac] #40280: Short-circuit filters can't return common values
WordPress Trac
noreply at wordpress.org
Tue Aug 8 16:17:29 UTC 2017
#40280: Short-circuit filters can't return common values
-------------------------+------------------------------
Reporter: andy | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.8
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+------------------------------
Comment (by andy):
Thanks for considering this issue. The current patch will treat the
problem. It's much more verbose and explicit than what I proposed and that
might be an improvement. I just want to take the pitfalls out of short-
circuiting and this patch helps.
Whatever the new short-circuit pattern looks like, it should be the only
pattern in core. It can be used alongside legacy short-circuit filters and
those old filters marked for deprecation to break BC in a specified later
version, targeting 18-24 months in the future.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40280#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list