Changeset 42343 for trunk/src/wp-includes/class-wp-comment.php
- Timestamp:
- 11/30/2017 11:09:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-comment.php
r41162 r42343 257 257 public function get_children( $args = array() ) { 258 258 $defaults = array( 259 'format' => 'tree',260 'status' => 'all',259 'format' => 'tree', 260 'status' => 'all', 261 261 'hierarchical' => 'threaded', 262 'orderby' => '',262 'orderby' => '', 263 263 ); 264 264 265 $_args = wp_parse_args( $args, $defaults );265 $_args = wp_parse_args( $args, $defaults ); 266 266 $_args['parent'] = $this->comment_ID; 267 267 … … 277 277 $children = array(); 278 278 foreach ( $this->children as $child ) { 279 $child_args = $_args;279 $child_args = $_args; 280 280 $child_args['format'] = 'flat'; 281 281 // get_children() resets this value automatically.
Note: See TracChangeset
for help on using the changeset viewer.