Update the WP packages with fixes prior to WP 6.2 RC2#4234
Conversation
| $children, | ||
| $block | ||
| ); | ||
| $block_content .= sprintf( $inner_content ); |
There was a problem hiding this comment.
| * @param bool $is_sub_menu Whether the link is part of a sub-menu. | ||
| * @return array Colors CSS classes and inline styles. | ||
| */ | ||
| function block_core_navigation_link_build_css_colors( $context, $attributes, $is_sub_menu = false ) { |
There was a problem hiding this comment.
|
Alright, looks good to me. |
|
Currently reviewing. There is at least 1 fix (so far) that was a bug introduced in 6.1, not in 6.2. |
hellofromtonya
left a comment
There was a problem hiding this comment.
Blocking commit until the review of the fixes is completed. Why? To ensure all fixes are bugs and/or regressions introduced in the 6.2 cycle. There is at least 1 so far from 6.1.
|
@Mamaduka I've reviewed each of the Gutenberg PRs to determine if each bug / regression was introduced in the 6.2 cycle. This bug was not introduced in 6.2:
This fix is removing a PHP function. Was this function introduced in 6.2?
I also left comments on each of these PRs. |
|
@Mamaduka Do you when that function was introduced into Core? If during 6.2, then removing is fine. Else, could be deprecated instead if not used and the alternative fix applied. |
This one has a Trac ticket open for it https://core.trac.wordpress.org/ticket/57883. Let's revert it from this PR and continue discussions in that Trac ticket. Sound good? @Mamaduka |
|
@hellofromtonya, definitely not in 6.2. Here is the PR that introduced the function into the Gutenberg plugin - WordPress/gutenberg#21075, so probably WP 5.5-5.6 |
Okay thank you @Mamaduka. A hard removal of the function breaks Core's BC (Backwards Compatibility) Promise. It can be deprecated instead or fixed. See my comment here WordPress/gutenberg#48927 (comment) |
Sorry for misguidance here. @Mamaduka Let's leave this fix on this PR for now but make it a separate commit please. That way its commit can be excluded if there's a decision not to commit it. |
|
@hellofromtonya, it needs to be in a separate package update; otherwise build process will overwrite the changes. Can we include it in RC3 when the decision is reached? |
|
Published package updates WordPress/gutenberg@356298f |
hellofromtonya
left a comment
There was a problem hiding this comment.
- Confirmed the package version numbers match the 2 publish releases WordPress/gutenberg@f22a3cb and WordPress/gutenberg@356298f ✅
- Confirmed the removed PHP function is restored to avoid breaking BC ✅
- Confirmed the
sprintf()bug introduced in 6.1.0 is not in this package update as it is still being discussed ✅
Ready for commit 👍
|
Committed via https://core.trac.wordpress.org/changeset/55542 into |
Trac ticket: https://core.trac.wordpress.org/ticket/57471
This updated the packages to the latest versions with the latest fixes.
WordPress/gutenberg@f22a3cb
Includes the following changes:
[Bug] Comments: Fix 'sprintf requires more than 1 params' error Comments: Fix 'sprintf requires more than 1 params' error gutenberg#49054 > Introduced in 6.1.1 (not in 6.2)❌