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:
parent
ed27fc2210
commit
03f559cd4f
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user