Skip to content

Commit 199f7e2

Browse files
committed
formatting comment
1 parent f63531b commit 199f7e2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/phpunit/tests/link/getAdjacentPost.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -688,8 +688,11 @@ public function test_get_adjacent_post_identical_dates_respects_modified_where_f
688688
'get_next_post_where',
689689
static function ( $where ) use ( &$filter_received, &$filter_returned ) {
690690
$filter_received = $where;
691-
// Modify the WHERE clause - deterministic fallback should NOT be applied.
692-
// Add a harmless condition that won't affect results but proves the filter was applied.
691+
/*
692+
* Modify the WHERE clause - deterministic fallback should NOT be applied.
693+
* Add a harmless condition that won't affect results but proves the filter was applied.
694+
* This is to ensure that the deterministic fallback is not applied on top of the filter's modification.
695+
*/
693696
$filter_returned = $where . ' AND 1=1';
694697
return $filter_returned;
695698
}

0 commit comments

Comments
 (0)