[wp-trac] [WordPress Trac] #12821: Allow get_pages() to query non-heirarchical post types?
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 2 21:10:54 UTC 2010
#12821: Allow get_pages() to query non-heirarchical post types?
--------------------------+-------------------------------------------------
Reporter: mikeschinkel | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Unassigned
Component: Post Types | Version: 3.0
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
It seems "hierarchical" is an optional argument and yet get_pages() checks
for non-hierarchical post types and if so exits. Is there a reason for
get_pages() not to support non-heirachical post types? Seem like it might
be a legacy concern prior to custom post types?
FYI, I changed my custom post type where I ran into this to be
hierarchical just to test it and it worked fine but that custom post type
really should be hierarchical.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12821>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list