Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twenty Twenty-Three: Remove perPage attribute where query inherits from global query #4649

Closed

Conversation

mikachan
Copy link
Member

Trac ticket: https://core.trac.wordpress.org/ticket/58581

We should remove the perPage attribute from the query loop blocks that inherit from the global query in Twenty Twenty-Three. If the block is inheriting the global query, then this should apply to the number of posts per page as well, making this attribute redundant.

Follow-on from this Gutenberg PR: WordPress/gutenberg#51641


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

@mikachan
Copy link
Member Author

Committed in https://core.trac.wordpress.org/changeset/56251. Thanks all!

@mikachan mikachan closed this Jul 21, 2023
@mikachan mikachan deleted the twenty-twenty-three/remove-perpage branch July 21, 2023 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants