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 ) {