Make WordPress Core


Ignore:
Timestamp:
06/05/2014 03:52:51 PM (10 years ago)
Author:
SergeyBiryukov
Message:

Correct @return value for get_children().

props ghost1227.
fixes #28422.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r28655 r28677  
    312312 * @param mixed $args Optional. User defined arguments for replacing the defaults.
    313313 * @param string $output Optional. Constant for return type, either OBJECT (default), ARRAY_A, ARRAY_N.
    314  * @return array|bool False on failure and the type will be determined by $output parameter.
     314 * @return array Array of children, where the type of each element is determined by $output parameter.
     315 *               Empty array on failure.
    315316 */
    316317function get_children($args = '', $output = OBJECT) {
Note: See TracChangeset for help on using the changeset viewer.