From 136fbfa1c065bcb31f0af0ca7ecc8739a210c27b Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 26 Nov 2008 18:56:46 +0000 Subject: [PATCH] Don't set post_parent default. Props hailin. fixes #8348 git-svn-id: http://svn.automattic.com/wordpress/trunk@9906 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 3ace72d6d..ef1bd2dcb 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -464,7 +464,7 @@ function get_posts($args = null) { 'order' => 'DESC', 'include' => '', 'exclude' => '', 'meta_key' => '', 'meta_value' =>'', 'post_type' => 'post', - 'post_parent' => 0, 'suppress_filters' => true + 'suppress_filters' => true ); $r = wp_parse_args( $args, $defaults );