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

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 6 22:27:32 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:  needs-unit-tests  |  
------------------------------+---------------------------------------------
Comment (by ryan):

 rejon, I don't think get_posts() has ever accepted a comma separated list
 of categories.  It expects a single category ID.  The fabricatorz example
 is passing '324,7'.

 You other example works fine for me.  Sorry, but I can't reproduce any of
 these problems.

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


More information about the wp-trac mailing list