#59681 closed defect (bug) (fixed)
Regression: Fix layout support to be compatible with enhanced pagination
Reported by: | luisherranz | Owned by: | hellofromTonya |
---|---|---|---|
Milestone: | 6.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Editor | Keywords: | gutenberg-merge has-patch has-unit-tests commit dev-reviewed |
Focuses: | Cc: |
Description (last modified by )
This ticket tracks the merging of PHP files for the following Gutenberg changes:
https://github.com/WordPress/gutenberg/pull/55416
This is fixing a regression introduced in 6.4 with the new enhanced pagination feature.
Change History (21)
This ticket was mentioned in PR #5528 on WordPress/wordpress-develop by @luisherranz.
15 months ago
#1
- Keywords has-patch added
@cbravobernal commented on PR #5528:
15 months ago
#2
Hi there!
I applied all changes requested. Thanks for the review @tellthemachines @costdev
@cbravobernal commented on PR #5528:
15 months ago
#3
Code updated with changes requested. Thanks for your reviews @tellthemachines , @costdev ! 🙇
@luisherranz commented on PR #5528:
15 months ago
#4
This looks much better now. Thanks, @c4rl0sbr4v0 and @costdev! 🙏
#6
@
15 months ago
This change is the 2nd half of fix for the Gutenberg issue 55230. The first half is in ticket #59694. Both tickets should be considered together for whether they should or shouldn't be backported to the 6.4 branch, as together they solve the issue with enhanced pagination in the Query block.
As I noted on #59694, for the bugfix to be backported to the 6.4 branch to ship in 6.4 RC2 or 3, it needs to resolve a regression or break/error introduced during the 6.4 cycle, i.e. per the commit guidelines during the release candidate phase:
Regressions: bugs that have been introduced during the WordPress 6.4 development cycle, either to existing or new features.
Some notes:
- The Gutenberg issue was punted to 6.4.1 last week ahead of 6.4 RC1.
- As @cbravobernal noted in Make/Core slack core channel, the bug did happen in 6.4, as the enhanced pagination is being introduced in 6.4.
the layout support was working fine in 6.3. This is a compatibility fix with the new enhanced pagination of the Query block, which is being introduced in 6.4.
@cbravobernal commented on PR #5528:
15 months ago
#7
Patch Report
Patch tested: https://patch-diff.githubusercontent.com/raw/WordPress/wordpress-develop/pull/5528.diff
How to read this report:
🐞 <= Bug occurs.
✅ <= Behavior is expected.
❌ <= Behavior is NOT expected.
Environment
- OS: macOS 14.0
- Web Server: Nginx
- macOS 14.0
- PHP 8.2.11
- 6.4-RC1-56475-src
- Firefox 118.0.2
Steps to Reproduce
- With WordPress 6.4 installed
- Create 7 posts, configure to have 3 per page.
- On the site editor, in home page, TT4, add pagination to the Query Loop, set it to inherit the template settings, activate "Enhanced Pagination feature). Make sure your layout is three posts in a row.
- 🐞 Check that on page three, the last post layout is broken (full width instead of 1/3)
Steps to Test Patch
- 🛠 Apply the patch.
- Refresh the home page.
- ✅ Check that the layout is correct when navigating to the last page.
- ✅ Check that the navigation happened without a page reload.
Test Results
- ✅ Issue is reproducible.
- ✅ Issue resolved with patch.
Screenshots
This ticket was mentioned in Slack in #core by cbravobernal. View the logs.
15 months ago
#9
@
15 months ago
In discussions and reviews, this is fixing a 6.4 regression introduced with the new enhanced pagination feature. Thus it is okay to be fixed in the 6.4 RC cycle.
#11
@
15 months ago
- Summary changed from Make layout support compatible with enhanced pagination to Regression: Fix layout support to be compatible with enhanced pagination
This ticket was mentioned in Slack in #core by hellofromtonya. View the logs.
15 months ago
@hellofromTonya commented on PR #5528:
15 months ago
#13
@aaronjorbin @costdev all feedback is now addressed. Can you re-review please?
#14
@
15 months ago
- Keywords has-unit-tests commit added
- Owner set to hellofromTonya
- Status changed from new to reviewing
Marking https://github.com/WordPress/wordpress-develop/pull/5528 for commit to trunk
.
#15
@
15 months ago
- Keywords dev-reviewed added
This looks good. Marking as dev-reviewed
to endorse committing to trunk and immediately backporting.
@Bernhard Reiter commented on PR #5528:
15 months ago
#16
Thank you everyone! Luis has asked me to commit this, which I'll promptly do 😊
#18
@
15 months ago
- Resolution fixed deleted
- Status changed from closed to reopened
Reopening for backporting to the 6.4 branch.
@Bernhard Reiter commented on PR #5528:
15 months ago
#20
@luisherranz commented on PR #5528:
15 months ago
#21
Thank you all for your help getting this to the finish line! @ockham, @c4rl0sbr4v0, @hellofromtonya, @aaronjorbin and @costdev 🙏
This is a backport PR for WordPress 6.4 that includes the following PHP Gutenberg changes:
Trac ticket: https://core.trac.wordpress.org/ticket/59681