-
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
Plugin: Synchronize PHP changes for WordPress 6.3 release #51077
Comments
I have added the "[Type] Tracking Issue" label @ramonjd. If this is incorrect, please feel free to change it. |
Removed #50596 from the list, as it only moves code around for gutenberg purposes. |
Prepared backport PR and trac ticket for #49807 | Trac ticket | Core backport PR |
Prepared #48711 | Trac ticket | Core backport PR |
#50527 and #50366 go together in the same backport PR (updated the issue description accordingly): Trac ticket | WordPress/wordpress-develop#4556 |
There were a few entries for the Details block that I've crossed and checked off. My understanding is that there's no backporting to do as new blocks are automatically copied across, and this particular block doesn't depend on any 'library' code. The PR that introduced that block also touched the |
I created #51340 to remove the pattern directory endpoint, as is not being used right now. It was preparatory work for another PR, that we might not pursue right now. Additionally I removed the respective PR from this issue's description. |
I marked #51100 as done: this PR removed dead code that was not being used. |
Marked #48077 as done: this PR simply moved code around from 6.2 to 6.3 folder. |
I removed #50364 from the list because it was a plugin-only change. |
I have tied a new #51397 to |
Note that there is an existing Trac ticket (Core-58323) which was closed when I applied the same changes to non-Gutenberg files in core. Can I just reuse that ticket to reference when backporting the changes from Gutenberg files? |
Thanks @westonruter! I reckon so. So long as there's a trail to inform future archaeologists about the changes. Thank you! |
I'm working on backporting the duotone changes over here. @glendaviesnz @aaronrobertshaw @t-hamano I will include your changes in there, most probably |
Quick update on the layout definitions backport: I have a (mostly) working backport open in WordPress/wordpress-develop#4624 with passing tests. It'll need to be rebased likely a few times as other backports land before it (i.e. once compound class names are backported from #47952, the expected strings in the tests will need to be updated). When it comes to layout, I imagine this will be the final backport to land, as it'll need to be merged at a similar time to the JS packages update so that both the JS and PHP behaviour are consistent. Let me know if that causes any issues, though! I'll continue rebasing the backport PR as needed. |
I have the following PRs up for the remaining layout-related backports:
|
I have opened the following PR WordPress/wordpress-develop#4643 to back port all the php changes from #48893 |
#50484 is being backported at: Trac ticket | WordPress/wordpress-develop#4656 |
I added some addition items that came out of #39286. |
I just removed #49387 from the list because it won't need to be backported until the Group grid variation becomes stable. |
Thanks for confirming @youknowriad ! I'll remove them |
We need to ensure that #51866 makes it's way into the Beta / package update. It is needed becuase of another commit in core. |
Anyone who is listening, thanks to all who were in involved for your hard work on these backport patches 🍺 |
Backport from core to gutenberg |
Backport from core to gutenberg |
It seems like the File and Navigation blocks have Gutenberg-specific code (including |
Noted here as well: #52103 (comment)
Fact check.. they were reintroduced to GB yesterday: af38c95 I'm still unsure why code within Edit: Another edit: @westonruter's filter approach might be a good compromise? |
The whole reason for the existence of This is also why the core webpack config sets the global here and here.
For the specific case that @westonruter reports here a filter or some kind of feature flag sounds like a good solution, yes. Although a perf issue with the old Navigation block code also sounds to me like a good reason to make sure the interactivity API does get included in 6.4 😄 |
This PR needs to be backported before RC1 - #52708 as it fixes https://core.trac.wordpress.org/ticket/58770 |
@ramonjd it seems, this tracking issue could be closed now with WordPress 6.3 RC 3 happening? |
Since we're at the cusp of the 6.3 release I'll close this with further thanks to all folks involved. Let it be cast into the sea of history! |
The issue tracks changes to PHP files that (might) need to be backported and merged to Core for the WordPress 6.3 release. The list is exhaustive so it may cover multiple PRs and experimental changes that won't be in 6.3.
Beta 1 is June 27, 2023
Tips 👀
❗ This is a living document and will be constantly updated as we approach beta. Sorry if you were mistakenly pinged! If a file or files have already been backported, please tick them off and link to the backport PR/trac issue.
Or, if the changes are not slated for WordPress 6.3, you can
strikethem or make a comment in this issue. Thank you! 🙇PRs to be backported will have the "Needs PHP backport" label applied.
📁 lib
📄 class-wp-theme-json-gutenberg.php
WP_Theme_JSON_Gutenberg::get_property_value
#50527 and Fix/wp get global styles for custom props returns internal variable #50366 - @oandregal @samnajian | Trac ticket | Core backport PRprepend_to_selector()
to avoid additional if checks and follow single responsibility principle #50266 - @felixarntz @spacedmonkey | Trac ticket | Core backport PRappend_to_selector
method #48759 - @spacedmonkey @t-hamano | Trac ticket | Core backport PR📄 global-styles-and-settings.php
gutenberg_get_remote_theme_patterns
function #49307 and Movegutenberg_get_remote_theme_patterns
#50597 @oandregal | Trac ticket | Core backport PR📄 blocks.php
📄 class-wp-duotone-gutenberg.php
📁 block-supports
📄 duotone.php
📄 elements.php
📄 layout.php
Use static closures when not using $this #50723 - @westonruter | Trac ticket | Core backport PR(already applied)📄 settings.php
📄 shadow.php
📄 typography.php
📁 lib/compat/wordpress-6.3
📄 blocks.php
footnotes.php
class-gutenberg-navigation-fallback.php
block-patterns.php
📄 get-global-styles-and-settings.php
📄 class-gutenberg-rest-blocks-controller.php
📄 class-gutenberg-rest-templates-controller-6-3.php
📄 class-gutenberg-rest-global-styles-controller-6-3.php
📄 class-gutenberg-rest-global-styles-revisions-controller-6-3.php
navigation-fallback.php
📄 rest-api.php
class-gutenberg-rest-block-patterns-controller-6-3.php
📄 get-global-styles-and-settings.php
📄 navigation-block-preloading.php
📄 class-gutenberg-rest-global-styles-controller-6-3.php
📄 script-loader.php
enqueue_block_assets
#49655 - @ellatrix | Trac ticket | Core backport PR📄 theme-previews.php
📄 link-template.php
📄 rest-api.php
📄 class-gutenberg-rest-global-styles-revisions-controller.php
📁 lib/experimental
📄 block-editor-settings.php
📄 class-wp-classic-to-block-menu-converter.php
📄 class-wp-navigation-fallback-gutenberg.php (Moved to
/compat/6-3
)📄 class-wp-rest-navigation-fallback-controller.php (Moved to
/compat/6-3
)📄 editor-settings.php
📄 rest-api.php
📄 kses.php
📄 navigation-fallback.php
📁 packages/style-engine
📄 packages/style-engine/class-wp-style-engine.php
🚧 Contingent features
The following are features that may or may not be shipped with 6.3.
Fonts library and fonts API (won't be shipped)
The text was updated successfully, but these errors were encountered: