Make WordPress Core

Opened 7 years ago

Last modified 3 years ago

#18701 accepted 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:


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.