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
This commit is contained in:
Ryan Boren 2008-11-26 18:56:46 +00:00
parent ed27fc2210
commit 03f559cd4f
1 changed files with 1 additions and 1 deletions

View File

@ -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 );