Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#12600 closed defect (bug) (fixed)

Extend get_pages() to all hierarchical post types.

Reported by: ptahdunbar's profile ptahdunbar Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords: has-patch
Focuses: Cc:


Title explains it all.

Patch extends get_pages() by adding a new post_type parameter and checks whether the post type is hierarchical.

It also adds an additional post_status parameter and checks whether it is a registered post_status too.

Attachments (1)

get_pages.diff (1.4 KB) - added by ptahdunbar 14 years ago.

Download all attachments as: .zip

Change History (3)

#1 @ptahdunbar
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.