From d061a161887efa040edbf80dd70598d0a1b6a12d Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 24 Dec 2007 21:24:03 +0000 Subject: [PATCH] Don't do hierarchical if includes specified. Props Kafkaesqui. fixes #5373 for 2.4 git-svn-id: https://develop.svn.wordpress.org/trunk@6491 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/post.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/post.php b/wp-includes/post.php index 28349ec178..99883ce74e 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -1611,6 +1611,7 @@ function &get_pages($args = '') { $exclude = ''; $meta_key = ''; $meta_value = ''; + $hierarchical = false; $incpages = preg_split('/[\s,]+/',$include); if ( count($incpages) ) { foreach ( $incpages as $incpage ) {