File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments