PluginProbe
ElasticPress / 5.3.5
ElasticPress v5.3.5
5.3.5 5.3.4 3.6.5 3.6.6 4.0.0 4.0.1 4.1.0 4.2.0 4.2.1 4.2.2 4.3.0 4.3.1 4.4.0 4.4.1 4.5.0 4.5.1 4.5.2 4.6.0 4.6.1 4.7.0 4.7.1 4.7.2 5.0.0 5.0.1 5.0.2 All 108 releases
← All changes | includes/classes/Indexable/Comment/QueryIntegration.php +2 -3 5.0.25.3.5 View file →
@@ -7,9 +7,9 @@
7 7 */
8 8
9 9 namespace ElasticPress\Indexable\Comment;
10 10
11 -use \WP_Comment_Query;
11 +use WP_Comment_Query;
12 12 use ElasticPress\Indexables;
13 13 use ElasticPress\Utils;
14 14
15 15 if ( ! defined( 'ABSPATH' ) ) {
@@ -330,9 +330,9 @@
330 330 $child_comments[] = $level_comment;
331 331 }
332 332 }
333 333
334 - $level ++;
334 + ++$level;
335 335 $levels[ $level ] = $child_comments;
336 336 } while ( $child_comments );
337 337
338 338 // Pull out just the descendant comments
@@ -371,6 +371,5 @@
371 371 }
372 372
373 373 return $comments;
374 374 }
375 -
376 375 }