[wp-trac] [WordPress Trac] #12821: Allow get_pages() to query non-heirarchical post types?
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 6 08:46:49 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 scribu):
> So for clarity we want to start using the parameters that get_posts()
uses in addition to the ones get_pages() has always used so that
get_pages() can behave like get_posts() but also so it can still behave
the same as it used to.
The other way around: add the get_pages() specific parameters ('child_of',
'exclude_tree' etc.) to get_posts(). Then, retrofit get_pages() to use
get_posts().
> Last question: Shouldn't I create a new ticket for the merge and close
this one out?
Sure, just mention this one in the description.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12821#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list