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
This commit is contained in:
ryan 2008-11-26 18:56:46 +00:00
parent 919fd58768
commit 136fbfa1c0
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ function get_posts($args = null) {
'order' => 'DESC', 'include' => '', 'order' => 'DESC', 'include' => '',
'exclude' => '', 'meta_key' => '', 'exclude' => '', 'meta_key' => '',
'meta_value' =>'', 'post_type' => 'post', 'meta_value' =>'', 'post_type' => 'post',
'post_parent' => 0, 'suppress_filters' => true 'suppress_filters' => true
); );
$r = wp_parse_args( $args, $defaults ); $r = wp_parse_args( $args, $defaults );