Opened 3 years ago

Last modified 11 months ago

#12821 assigned enhancement

Allow get_pages() to query non-heirarchical post types? — at Initial Version

Reported by: mikeschinkel Owned by:
Priority: normal Milestone: Future Release
Component: Post Types Version: 3.0
Severity: normal Keywords: has-patch needs-testing
Cc: kevinB, mikeschinkel@…, aaroncampbell, steph@…, WordPress@…, info@…, shane@…, frederic.demarle@…, andrewsfreeman

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.