Changeset 16667
- Timestamp:
- 12/01/2010 08:23:57 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r16662 r16667 267 267 * @return array|bool False on failure and the type will be determined by $output parameter. 268 268 */ 269 function &get_children($args = '', $output = OBJECT) {269 function get_children($args = '', $output = OBJECT) { 270 270 $kids = array(); 271 271 if ( empty( $args ) ) { … … 296 296 297 297 foreach ( $children as $key => $child ) 298 $kids[$child->ID] = &$children[$key];298 $kids[$child->ID] = $children[$key]; 299 299 300 300 if ( $output == OBJECT ) {
Note: See TracChangeset
for help on using the changeset viewer.