[wp-trac] Re: [WordPress Trac] #7326: get_posts not working properly

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 20 22:18:56 GMT 2008


#7326: get_posts not working properly
---------------------+------------------------------------------------------
 Reporter:  wpcandy  |        Owner:  anonymous
     Type:  defect   |       Status:  new      
 Priority:  high     |    Milestone:  2.6.1    
Component:  General  |      Version:  2.6      
 Severity:  blocker  |   Resolution:           
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by rejon):

 Ok, tried alt. way to have arguments:

         $myposts = get_posts(array('category' => '324',
                                    'orderby'    => 'post_modified',
                                    'numberposts'=> 1 ) );


 IMO, the problem is something with category above since all works fine if
 I remove the category arg. Ok, looking deeper...

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7326#comment:12>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list