Removes the stepping property and no longer sets a max ID to constrain the query. Should result in a speedup in execution time because posts_per_page posts will be fetched on every query execution rather than running queries that return few or no results.
Note to Reviewer
The changes to the autoload parameter in the option function and tests are due to changes in WordPress 6.6 that were causing PHPStan and PHPUnit to fail due to a change in the expected type of the parameter and the value in the options table.
Summary
Removes the stepping property and no longer sets a max ID to constrain the query. Should result in a speedup in execution time because
posts_per_page
posts will be fetched on every query execution rather than running queries that return few or no results.Note to Reviewer
The changes to the autoload parameter in the option function and tests are due to changes in WordPress 6.6 that were causing PHPStan and PHPUnit to fail due to a change in the expected type of the parameter and the value in the options table.
Fixes #30