[wp-trac] [WordPress Trac] #16742: Meta query doesn't work with $wp_query->set()

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 5 14:41:04 UTC 2011


#16742: Meta query doesn't work with $wp_query->set()
--------------------------+--------------------
 Reporter:  scribu        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.1.1
Component:  Query         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------

Comment (by scribu):

 Actually, it does fix the original bug, but it stomps the original
 'meta_query', if it's set:

 `
 query_posts( array(
         'meta_query' => array(
                 array( 'key' => 'foo' )
         )
 ) );
 `

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


More information about the wp-trac mailing list