[wp-trac] [WordPress Trac] #12660: WP_Query is broken when using meta_* args

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 2 23:32:33 UTC 2010


#12660: WP_Query is broken when using meta_* args
--------------------------+-------------------------------------------------
 Reporter:  ptahdunbar    |       Owner:  ryan             
     Type:  defect (bug)  |      Status:  new              
 Priority:  high          |   Milestone:  3.0              
Component:  Query         |     Version:  3.0              
 Severity:  normal        |    Keywords:  reporter-feedback
--------------------------+-------------------------------------------------

Comment(by MichaelH):

 Can't duplicate using any variations of meta_* with this in twentyten
 index.php as of 04/01/10 nightly

 {{{
 $args=array(
   'meta_key'=>'cf1',
   'meta_value'=> 'yes',
   'post_type' => 'post',
   'post_status' => 'publish',
   'posts_per_page' => -1,
   'caller_get_posts'=> 1
 );
 $my_query = null;
 $my_query = new WP_Query($args);
 }}}

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


More information about the wp-trac mailing list