Changeset 34595
- Timestamp:
- 09/26/2015 02:40:15 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-comment.php
r34585 r34595 302 302 */ 303 303 public function add_child( WP_Comment $child ) { 304 $this->c omments[ $child->comment_ID ] = $child;304 $this->children[ $child->comment_ID ] = $child; 305 305 } 306 306 … … 315 315 */ 316 316 public function get_child( $child_id ) { 317 if ( isset( $this->c omments[ $child_id ] ) ) {318 return $this->c omments[ $child_id ];317 if ( isset( $this->children[ $child_id ] ) ) { 318 return $this->children[ $child_id ]; 319 319 } 320 320
Note: See TracChangeset
for help on using the changeset viewer.