[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 Nov 12 14:41:11 UTC 2010


#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:  Awaiting Review                  
Component:  Query         |     Version:  3.0.1                            
 Severity:  major         |    Keywords:  query, get_post, meta, meta_value
--------------------------+-------------------------------------------------

Comment(by hetjens):

 meta_value_num is only for orderby and not for checking against it.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15292#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list