diff --git a/wp-includes/class-wp-comment.php b/wp-includes/class-wp-comment.php index 6f2c771899..c141c6ecd9 100644 --- a/wp-includes/class-wp-comment.php +++ b/wp-includes/class-wp-comment.php @@ -301,7 +301,7 @@ final class WP_Comment { * @param WP_Comment $child Child comment. */ public function add_child( WP_Comment $child ) { - $this->comments[ $child->comment_ID ] = $child; + $this->children[ $child->comment_ID ] = $child; } /** @@ -314,8 +314,8 @@ final class WP_Comment { * @return WP_Comment|bool Returns the comment object if found, otherwise false. */ public function get_child( $child_id ) { - if ( isset( $this->comments[ $child_id ] ) ) { - return $this->comments[ $child_id ]; + if ( isset( $this->children[ $child_id ] ) ) { + return $this->children[ $child_id ]; } return false; diff --git a/wp-includes/version.php b/wp-includes/version.php index 7a713d7947..9959c0153a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34594'; +$wp_version = '4.4-alpha-34595'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.