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:
parent
919fd58768
commit
136fbfa1c0
|
@ -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