From 918d84ef68db93f227e3dd5ca2f128c29449a38d Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 8 Dec 2008 21:00:25 +0000 Subject: [PATCH] Get all children. Props filosofo. fixes #8527 git-svn-id: http://svn.automattic.com/wordpress/trunk@10130 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index f4c4ce11a3..7b971a8ffe 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -127,8 +127,8 @@ function &get_children($args = '', $output = OBJECT) { } $defaults = array( - 'numberposts' => -1, 'post_type' => '', - 'post_status' => '', 'post_parent' => 0 + 'numberposts' => -1, 'post_type' => 'any', + 'post_status' => 'any', 'post_parent' => 0, ); $r = wp_parse_args( $args, $defaults );