[wp-trac] [WordPress Trac] #12821: Merge get_posts() and get_pages()

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 6 18:12:49 UTC 2011


#12821: Merge get_posts() and get_pages()
-------------------------------------+-----------------------------
 Reporter:  mikeschinkel             |       Owner:  garyc40
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  Future Release
Component:  Post Types               |     Version:  3.0
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+-----------------------------

Comment (by scribu):

 What I mean is that get_posts() should remain unchanged.

 Any get_pages() specific args, like 'include' should be converted to the
 standard ones ('post__in') inside get_pages(), before calling get_posts()
 or WP_Query.

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


More information about the wp-trac mailing list