[wp-trac] [WordPress Trac] #40280: Short-circuit filters can't return common values
WordPress Trac
noreply at wordpress.org
Wed Aug 9 17:04:08 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 flixos90):
That's a good point that many of those objects would be instantiated
without any benefit.
So I'm not heavily against the simple constant approach, however I think
in the original discussion where this ticket came up there were some
concerns expressed over a simple value-based solution like we have now. I
can't quite remember what it was, maybe someone else does. It was probably
nitpicking, since a constant-based solution with a really truly 99.999999%
unique value should be solid enough for this. What do other people think?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40280#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list