Query loop ignores items per page setting for sticky posts #64083
Labels
[Block] Query Loop
Affects the Query Loop Block
[Type] Bug
An existing feature does not function as intended
Description
The query loop block displays all sticky posts, regardless of "Items per page"settings.
Step-by-step reproduction instructions
I expected both query loops to display one post only, and it seems they both show all the sticky posts instead.
I'm wondering if this is the expected behavior of sticky posts in a query loop, because excluding sticky posts does fix the issue. If this is expected, how can we clarify that "Items per page" setting doesn't apply to sticky posts?
Screenshots, screen recording, code snippet
Query 1 settings:
Query 2 settings:
Blog posts on the site:
Preview:
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
The text was updated successfully, but these errors were encountered: