-
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.4 release #54177
Comments
Thanks for the ping. I just double-checked the core files, and there's no need to backport #54154. The autogenerated static blocks list looks correct for the core. |
Thanks @Mamaduka! I'll check it off the list. |
I've added Trac tickets/PRs above to my two changes to class-wp-theme-json-gutenberg.php. I think @oandregal 's off for the next week or so, so I'm happy to do PRs for his changes to the same file too! |
Thanks for getting this together! I've added all the links to backport PRs/trac tickets for my changes. Summary of updatesTry: bundle WP_REST_Global_Styles_Controller class instead of inheriting per WordPress version #53618Mostly a plugin-only refactor. A couple of code quality tweaks. Bundled these with #52819 and added backport links. Patterns: add
|
Thanks for the ping! 🙌 I've taken a thorough look at my PRs and none of them need to be backported. They're all related to an experiment to deprecate TinyMCE which isn't ready for public use in core just yet. |
Thanks @tyxla! I've put a strikethrough through your PRs. |
The Fonts API is deprecated and replaced by Font Face to work with the Font Library. Thus, the Fonts API found in Description updated ✅ |
I've started work on porting the PHP code for auto-inserting blocks (which have been recently renamed to "block hooks"). My (very early) WIP PR is here; I might have to break it down into smaller ones eventually. (My only other change in the above list doesn't need any porting to Core, since it was a mere cleanup on the Gutenberg side to remove something that had already been ported to Core. |
For the sync package, I don't think there's anything to do at the moment as the usage of this package is behind an experimental flag still. |
I've updated all of my items and the ones for @c4rl0sbr4v0, as he's on parental leave.
|
Hi! We’re still working on the lightbox, so I’ll open the backports for the following once we merge this current PR. |
And here's the PR for the remaining 2 theme json class changes: WordPress/wordpress-develop#5162 |
I've added the Trac ticket and PR for the changes relating to: |
Trac ticket for #50822 (writing mode) |
I've opened a Trac ticket and PR for the changes from: |
A Trac ticket and PR are available for the changes from: |
I've opened a trac ticket (plus linked PR) for this bug I just fixed today 😄 |
A Trac ticket and a patch are available for the changes from: |
I've created a Trac ticket and PR. |
This change will also need to backported - #51116 |
@spacedmonkey, I think Ari is already working on the core patch - WordPress/wordpress-develop#5244. |
Yep, trac ticket created in https://core.trac.wordpress.org/ticket/59405 👍 |
As Behaviors have been removed from the plugin in #53851 and will not be shipping in 6.4, I marked the following as done:
|
The pull request #52696 doesn't need to be backported to Core. It's specific to Gutenberg. |
@peterwilsoncc, could you please confirm if #52455 needs a backport ahead of Beta 1? @spacedmonkey, could you please confirm if #52045 needs a backport ahead of Beta 1? |
@mikachan It does not, the NUX script and styles are already included in WP Core. I'll edit this ticket accordingly. |
Add caching to schema of REST API. #52045 was committed in WordPress 6.3 - See WordPress/wordpress-develop@7faab12 |
Block API: Unnecessary JSON decoding in block parser #54424 - Will be committed to core once the npm packages are updated in core. |
Another backport issue - #54835 - Core ticket https://core.trac.wordpress.org/ticket/59453#ticket |
A Trac ticket and a patch are available for the changes from: |
Added the links to the backport of Tag Processor usage in block supports layout; was merged into Core already in WordPress/wordpress-develop#5252 |
WP 6.4 has been released 🥳 So I'm going to close this. Thanks for everyone's input with the backports! |
The issue tracks changes to PHP files that (might) need to be backported and merged to Core for the WordPress 6.4 release. The list is exhaustive so it may cover multiple PRs and experimental changes that won't be in 6.4.
Beta 1 is September 26, 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.4, 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
📄 blocks.php
📄 class-wp-duotone-gutenberg.php
Enforce checks against redeclaration for functions and classes #52696 - @anton-vlasenko | Trac ticket | Core backport PR📄 class-wp-rest-global-styles-controller-gutenberg.php
📄 class-wp-theme-json-gutenberg.php
get_root_layout_rules
: remove unnecessary call tosanitize_title
#53568 - @oandregal | Trac ticket | Core backport PRtheme.json
: skip those without classes or variables #53574 - @oandregal | Trac ticket | Core backport PR📄 client-assets.php
Try: Aggressive TinyMCE deprecation #50387 - @tyxla | Trac ticket | Core backport PR (experimental)Restore@wordpress/nux
to trunk #52455 - @peterwilsoncc | Trac ticket | Core backport PR📄 experiments-page.php
Bootstrap a minimal sync package #52681 - @youknowriad | Trac ticket | Core backport PR (experimental)Experiment/add custom connections inspector control #53241 - @c4rl0sbr4v0 | Trac ticket | Core backport PR (experimental)Should not be ported. GB-only and experimental API.📄 load.php
Deprecate and make Fonts API non-functional. #52485 - @hellofromtonya | Trac ticket | Core backport PRPlugin onlyBehaviors: Extend Global Styles API to read/write behaviors config. #52370 - @c4rl0sbr4v0 | Trac ticket | Core backport PR (experimental)Should not be ported. It will be reverted in Image block: Revise lightbox UI to remove 'behaviors'delete_posts
to the wp_block (patterns) capabilities #53405 - @ramonjd | Trac ticket | Core backport PR (Is this going into WP 6.3.2?)Fonts Library: Backend #52704 - @matiasbenedetto @hellofromtonya | Trac ticket | Core backport PRRelocates Font Face and Fonts Library PHP files into Core's fonts directory #53747 - @hellofromtonya | Trac ticket | Core backport PRRenames "Fonts Library" to "Font Library" #53780 - @matiasbenedetto @hellofromtonya | Trac ticket | Core backport PRFont Library: Font Collection backend #54098 - @matiasbenedetto @hellofromtonya | Trac ticket | Core backport PRFont Face & Font Library: Load PHP files only if the main class does not exist. #54103 - @hellofromtonya | Trac ticket | Core backport PRPlugin only📄 load.php
Deprecate and make Fonts API non-functional. #52485 - @hellofromtonya | Trac ticket | Core backport PRPlugin only📄 theme.json
📁 block-supports
📁 background.php
_wp_array_get
function #51116 - @aristath | Trac Ticket | Core backport PR📄 behaviors.php
📄 colors.php
📄 elements.php
📄 layout.php
📄 typography.php
📁 lib/compat/wordpress-6.4
📄 block-patterns.php
📄 blocks.php
delete_posts
to the wp_block (patterns) capabilities #53405 - @ramonjd | Trac ticket | Core backport PR (Is this going into WP 6.3.2?)📄 class-gutenberg-rest-global-styles-revisions-controller-6
Behaviors: Extend Global Styles API to read/write behaviors config. #52370 - @c4rl0sbr4v0 | Trac ticket | Core backport PR (experimental)Should not be ported. It will be reverted in Image block: Revise lightbox UI to remove 'behaviors'📄 rest-api.php
Behaviors: Extend Global Styles API to read/write behaviors config. #52370 - @c4rl0sbr4v0 | Trac ticket | Core backport PR (experimental). Should not be ported. It will be reverted in Image block: Revise lightbox UI to remove 'behaviors'.📄 script-loader.php
📄 kses.php
writing-mode
as a safe CSS property #54581 - @t-hamano | Trac ticket (has a patch)📁 lib/experimental
📄 auto-inserting-blocks.php
📄 blocks.php
Allow contents of Paragraph to be "connected" to a meta custom field #53247 - @michalczaplinski | Trac ticket | Core backport PR. Plugin-only and experimental.Add filter to turn off Interactivity API for a block #52579 - @westonruter | Trac ticket | Core backport PR(not relevant as Interactivity API is not part of core merge yet)📄 class--wp-editors.php
Enforce checks against redeclaration for functions and classes #52696 - @anton-vlasenko | Trac ticket | Core backport PRTry: Aggressive TinyMCE deprecation #50387 - @tyxla | Trac ticket | Core backport PR (experimental)📄 class-gutenberg-rest-block-patterns-controller.php
📄 class-gutenberg-rest-template-revision-count.php
Template revisions API: move back to experimental #51774(Will probably not make 6.4. Blocked by upstream)📄 class-wp-rest-block-editor-settings-controller.php
Enforce checks against redeclaration for functions and classes #52696 - @anton-vlasenko | Trac ticket | Core backport PR📄 class-wp-rest-customizer-nonces.php
Enforce checks against redeclaration for functions and classes #52696 - @anton-vlasenko | Trac ticket | Core backport PR📄 disable-tinymce.php
Experimental: Disable TinyMCE compat with classic editor #52325 - @tyxla | Trac ticket | Core backport PR (experimental)Experimental: Fix TinyMCE removal for heartbeat requests #52935 - @tyxla | Trac ticket | Core backport PR (experimental)Experimental: Backend handle freeform blocks with TinyMCE removal #52938 - @tyxla | Trac ticket | Core backport PR (experimental)📄 editor-settings.php
Try: Aggressive TinyMCE deprecation #50387 - @tyxla | Trac ticket | Core backport PR (experimental)Remove experimental setting for interactivity API and behaviors #52833 - @c4rl0sbr4v0 | Trac ticket | Core backport PR (experimental)(not relevant as Interactivity API is not part of core merge yet)Bootstrap a minimal sync package #52681 - @youknowriad | Trac ticket | Core backport PR (experimental)Experiment/add custom connections inspector control #53241 - @c4rl0sbr4v0 | Trac ticket | Core backport PR (experimental)Should not be ported. GB-only and experimental API.Code Quality: Removegutenberg_initialize_editor
#53527 - @ockham | Trac ticket | Core backport PR (experimental)📄 kses.php
Enforce checks against redeclaration for functions and classes #52696 - @anton-vlasenko | Trac ticket | Core backport PR📄 rest-api.php
Enforce checks against redeclaration for functions and classes #52696 - @anton-vlasenko | Trac ticket | Core backport PRTemplate revisions API: move back to experimental #51774(Will probably not make 6.4. Blocked by upstream)📄 synchronization.php
Bootstrap a minimal sync package #52681 - @youknowriad | Trac ticket | Core backport PR (experimental)### 📁 lib/experimental/fonts-apiThe Fonts API will not be backported to Core, as it's been deprecated in the plugin and replaced by Font Face.
#### 📄 fonts-api.phpFix font printing regression when metabox exists #52343 - @hellofromtonya | Trac ticket | Core backport PR📁 lib/experimental/fonts/font-library
📄 class-wp-font-library.php
Font Library: changing the upload directory to wp-content/fonts #54122 - @jffng @matiasbenedetto | Trac ticket | Core backport PRFont Library: add mime type validation for font uploads #53986 - @madhusudhand | Trac ticket | Core backport PR📄 class-wp-font-family.php
Font Library: fix duplicate variants with different file types #54490 - @jffng | Trac ticket | Core backport PRFont Library: setting wp_font_family custom post type as _builtin and not plublic #54559 - @matiasbenedetto | Trac ticket | Core backport PRFont Library: remove upload_mimes filter after uploading fonts #54647 - @madhusudhand | Trac ticket | Core backport PR📄 class-wp-font-family-utils.php
Font Library: ensure merged fontFace data is enconded as an array instead of an object #54435 - @matiasbenedetto | Trac ticket | Core backport PR📁 fonts-library
Fonts Library: Test improvements #53702 - @hellofromtonya | Trac ticket | Core backport PRFont Library: Font Collections frontend #54566 - @matiasbenedetto | Trac ticket | Core backport PR📁 packages/style-engine
📄 packages/style-engine/class-wp-style-engine.php
📁 packages/block-serialization-default-parser
📄 class-wp-block-parser.php
📁 packages/block-library/
🚧 Contingent features
The following are features that may or may not be shipped with 6.4.
The text was updated successfully, but these errors were encountered: