[wp-trac] [WordPress Trac] #27272: WP meta queries comparing apples to oranges
WordPress Trac
noreply at wordpress.org
Sat Apr 23 19:37:49 UTC 2016
#27272: WP meta queries comparing apples to oranges
-------------------------------+-----------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future Release
Component: Query | Version: 3.8.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------------+-----------------------------
Comment (by ericlewis):
It seems the original bug reported by this ticket is not a bug (see
comment:13). I suggest we close this ticket as worksforme after tying up
loose ends, as a few engaging points have been brought up.
* @boonebgorges wrote a unit test to express that the original bug report
is invalid. Was that intended as a prop for confirming the bug wasn't a
bug, or should we consider merging that test?
* There's some thought about using the `meta_type` do decide which numeric
format to use when building the SQL query (@wonderboymusic's
attachment:27272.2.diff which @gitlost has kept fresh). This is a separate
issue from the original bug report, although related. We should consider
using the type of the value passed in the meta query too for a good
default that doesn't require a `type` parameter (basically what
@boonebgorges suggested in comment:13). I've opened #36652 to that end.
* @gitlost reported a bug in its own right in comment:14. @gitlost — can
you create a separate ticket and outline the problem?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27272#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list