Correct @return value for get_children().
props ghost1227. fixes #28422. Built from https://develop.svn.wordpress.org/trunk@28677 git-svn-id: http://core.svn.wordpress.org/trunk@28495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c8a55d08e6
commit
f9792ed973
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue