-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Post pagination: duplicate inner wrapper #35610
Comments
Looking at a Prior to 11.7, it seems
Since 11.7, it appears this is automatically handled by I guess this is not a bug and instead requires a theme update? |
The two circumstances I'm seeing this happen with 11.7 active:
The duplicate wrapper no longer appears once a template is saved via the Site Editor in 11.7. |
Yes I noticed this too and needed to update the markup in the themes .html file. |
Sorry, this is my fault. The change was introduced via #35092 to fix the empty container issue. |
The note has been added to the release post. |
Thank you, @Mamaduka! |
Description
The post pagination markup looked like this prior to the 11.7 release:
Since 11.7, there's a duplicate
.wp-block-query-pagination
attached to an inner wrapper<div>
:This means the flex styles managed by the
.wp-container-*
class are no longer applied to the intended target,.wp-block-post-navigation-link
.Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
11.6 active
11.7 active
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: