WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 15 months ago

#18701 new defect (bug)

"hierarchical" argument for get_pages() does nothing — at Initial Version

Reported by: Viper007Bond Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.0
Component: Posts, Post Types Keywords:
Focuses: Cc:

Description

The hierarchical argument for get_pages() is never actually used. It is in an if statement, but one that requires child_of to also be set:

if ( $child_of || $hierarchical )
	$pages = & get_page_children($child_of, $pages);

Change History (0)

Note: See TracTickets for help on using tickets.