[wp-trac] Re: [WordPress Trac] #4070: rewrite get_posts to call WP_Query->get_posts, using temporary filters as needed

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 4 03:11:20 GMT 2007


#4070: rewrite get_posts to call WP_Query->get_posts, using temporary filters as
needed
-------------------------+--------------------------------------------------
 Reporter:  kevinB       |        Owner:  markjaquith
     Type:  enhancement  |       Status:  new        
 Priority:  normal       |    Milestone:  2.2        
Component:  General      |      Version:             
 Severity:  normal       |   Resolution:             
 Keywords:  get_posts    |  
-------------------------+--------------------------------------------------
Comment (by rob1n):

 Personally I use get_posts() when I want to display a "sub-query", such as
 recent posts in the sidebar. As Ryan says, I think this function should
 stay raw-from-the-DB, and we do have query_posts().

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


More information about the wp-trac mailing list