[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
Sat Jan 15 05:10:35 UTC 2011
#15292: It's not possible to check for "meta_value = 0" in wp_query->get_posts
-------------------------------------------------+-------------------------
Reporter: hetjens | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future
Component: Query | Release
Severity: major | Version: 3.0.1
Keywords: query, get_post, meta, meta_value | Resolution:
dev-feedback |
-------------------------------------------------+-------------------------
Changes (by mdawaffe):
* keywords: query, get_post, meta, meta_value => query, get_post, meta,
meta_value dev-feedback
* milestone: Awaiting Review => Future Release
Comment:
In 3.1, you can pass meta_value = '_wp_zero_value'.
We could probably use strlen(), though.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15292#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list