Correct @return value for get_children().

props ghost1227.
fixes #28422.

git-svn-id: https://develop.svn.wordpress.org/trunk@28677 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2014-06-05 15:52:51 +00:00
parent ff3f4e888f
commit 83bffbc6c7
1 changed files with 2 additions and 1 deletions

View File

@ -311,7 +311,8 @@ function _wp_relative_upload_path( $path ) {
*
* @param mixed $args Optional. User defined arguments for replacing the defaults.
* @param string $output Optional. Constant for return type, either OBJECT (default), ARRAY_A, ARRAY_N.
* @return array|bool False on failure and the type will be determined by $output parameter.
* @return array Array of children, where the type of each element is determined by $output parameter.
* Empty array on failure.
*/
function get_children($args = '', $output = OBJECT) {
$kids = array();