[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
Fri Mar 4 03:47:09 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: 3.2-early has-patch |
---------------------------------+-----------------------------
Comment (by scribu):
This [http://wordpress.stackexchange.com/questions/10881/how-can-i-show-
posts-only-if-meta-value-is-not-empty/11090#11090 answer] made me realize
that I shouldn't be using array_filter(). Hence,
[attachment:16573.2.diff]. Also updated the unit tests.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15292#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list