From 7541abd7e5b8fcd43c0f0f4f4831dd92c32888b4 Mon Sep 17 00:00:00 2001 From: ryan 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: http://svn.automattic.com/wordpress/trunk@6491 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 ) {