Comments: Revert [38298].

Instead use the correct comparison operator which was changed in [38297].

Fixes #37416.
Built from https://develop.svn.wordpress.org/trunk@38639


git-svn-id: http://core.svn.wordpress.org/trunk@38582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2016-09-21 17:38:28 +00:00
parent d885e3cfb0
commit 1babe4b968
2 changed files with 2 additions and 5 deletions

View File

@ -1020,10 +1020,7 @@ class WP_Comment_Query {
// Prime comment caches for non-top-level comments.
$descendant_ids = array();
for ( $i = 1, $c = count( $levels ); $i <= $c; $i++ ) {
if ( empty( $levels[ $i ] ) ) {
continue;
}
for ( $i = 1, $c = count( $levels ); $i < $c; $i++ ) {
$descendant_ids = array_merge( $descendant_ids, $levels[ $i ] );
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-alpha-38638';
$wp_version = '4.7-alpha-38639';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.