[wp-trac] [WordPress Trac] #12821: Allow get_pages() to query non-heirarchical post types?

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 4 10:36:40 UTC 2010


#12821: Allow get_pages() to query non-heirarchical post types?
--------------------------+-------------------------------------------------
 Reporter:  mikeschinkel  |       Owner:             
     Type:  enhancement   |      Status:  new        
 Priority:  normal        |   Milestone:  3.1        
Component:  Post Types    |     Version:  3.0        
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------

Comment(by nacin):

 Go for it. In general, just find a ticket and write a patch if you'd like.
 I never found a need to mess with the owner components for the most part,
 though I find it helpful as a committer now.

 We need to be fully back compat. The args order and sort_order (and
 orderby and sort_column) must both stay, for example. We'd want to make
 orderby and order the 'proper' ones since that is our naming convention.
 The structural differences between the two -- get_pages() relies on its
 own query, while get_posts() uses WP_Query, for example -- should be
 interesting to merge.

 >Just remember that it probably won't make it into WP 3.0.
 Yeah, this isn't going to happen for 3.0. Way too much to change and test
 late in the dev cycle. Consider it blessed for 3.1 as of
 [comment:16:ticket:4711 ryan's comment in #4711].

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


More information about the wp-trac mailing list