From 03f559cd4f33ee65d4f1c64a614c0899ace40fca Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 26 Nov 2008 18:56:46 +0000 Subject: [PATCH] Don't set post_parent default. Props hailin. fixes #8348 git-svn-id: https://develop.svn.wordpress.org/trunk@9906 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 3ace72d6d9..ef1bd2dcb3 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 );