[wp-trac] [WordPress Trac] #15292: It's not possible to check for "meta_value = 0" in wp_query->get_posts
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 3 00:47:41 UTC 2011
#15292: It's not possible to check for "meta_value = 0" in wp_query->get_posts
-----------------------------------+-----------------------------
Reporter: hetjens | Owner: dd32
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: Future Release
Component: Query | Version: 3.0.1
Severity: major | Resolution:
Keywords: needs-patch 3.2-early |
-----------------------------------+-----------------------------
Comment (by dd32):
> using strlen() on Line 423 will probably fix this ticket.
but would have the effect that you can't query against a literal, empty
string.
Closed #16735 as duplicate (cannot query meta_Value != '')
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15292#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list