-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
Gutenberg PluginIssues or PRs related to Gutenberg Plugin management related effortsIssues or PRs related to Gutenberg Plugin management related efforts[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.Tactical breakdown of efforts across the codebase and/or tied to Overview issues.
Description
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 👀
- Please open a new Core Trac ticket for each PR and link it next to the citation in this issue. 🙇
- For ease of cross-linking and tracking, you can submit your PRs to WordPress/wordpress-develop. Refer to docs on how to fork the repository and create a PR. Link any backport PR next to the citation in this issue. 🙇
- Try to limit PRs to one feature to make reviewing easier and the commit history clear. See why
- Modifications/additions to PHP unit tests aren't listed: any unit tests introduced in the cited PRs should also be ported over where applicable.
- Once your backport PR is up, add it to the WordPress 6.3 Editor Tasks project board so folks can review it. Thank you!
❗ 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 strike them 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
- Block.json: Refactor and stabilize selectors API #46496 - @aaronrobertshaw @scruffian | Trac ticket | Core backport PR
- Update PHP docblock for
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 PR - Duotone: Limit SVG filter output to used filters #49103 - @jeryj @ajlende | Trac ticket | Core backport PR
- Use static closures when not using $this #50723 - @westonruter | Trac ticket | Core backport PR
- Try adding a grid layout type #49018 - @tellthemachines | Trac ticket | Core backport PR
- Selectors API: Fix for global styles hook, style variations, and duotone #49393 - @aaronrobertshaw | Trac ticket | Core backport PR for duotone changes and Trac ticket | Core backport PR for the rest
- Selectors API: Make duotone selectors fallback and be scoped #49423 - @aaronrobertshaw | Trac ticket | Core backport PR for duotone changes and Trac ticket | Core backport PR for the rest
- Add block spacing and layout to Post Template #49050 - @tellthemachines | Trac ticket | Core backport PR
- Introduce
prepend_to_selector()
to avoid additional if checks and follow single responsibility principle #50266 - @felixarntz @spacedmonkey | Trac ticket | Core backport PR - Fix: Incorrect selector generated by
append_to_selector
method #48759 - @spacedmonkey @t-hamano | Trac ticket | Core backport PR - Do not add unregistered style variations to the theme.json schema #49807 - @oandregal | Trac ticket | Core backport PR
- Try reducing specificity of layout margin rules #47858 - @tellthemachines | Trac ticket | Core backport PR
- Extract a ColorPanel component as a reusable component between Global Styles and Block Inspector #48893 - @youknowriad | Trac ticket | Core backport PR
- Fix typo (overriden -> overridden) #48711 - @aristath | Trac ticket | Core backport PR
- Add compound class to layout wrapper for global spacing styles #47952 - @tellthemachines | Trac ticket | Core backport PR
- Block Supports: Add text columns (column count) to typography block supports #33587 - @aaronrobertshaw | Trac ticket | Core backport PR
- Layout: Move layout definitions out of theme.json #50621 - @andrewserong | Trac ticket | Core backport PR
- Add a description key to theme.json style variations #45242 - @carolinan | Trac ticket | Core backport PR
- Accept transforms in gutenberg_get_global_styles context params #50484 - @samnajian @oandregal | Trac ticket | Core backport PR
📄 global-styles-and-settings.php
- Add
gutenberg_get_remote_theme_patterns
function #49307 and Movegutenberg_get_remote_theme_patterns
#50597 @oandregal | Trac ticket | Core backport PR - Use static closures when not using $this #50723 - @westonruter | Trac ticket | Core backport PR
📄 blocks.php
- Reusable blocks: Rename to 'Patterns' and add option to also add a non-synced Pattern #51144 - @glendaviesnz | Track ticket | Core backport PR
- Patterns: rename sync_status postmeta to pattern_post_sync_status #52232 @glendaviesnz | Trac ticket | Core backport PR
📄 class-wp-duotone-gutenberg.php
- Duotone: Limit SVG filter output to used filters #49103 - @ajlende | Trac ticket | Core backport PR
- Duotone: Remove Safari rerender hack #49232 - @ajlende @scruffian | Trac ticket | Core backport PR
- Replace regex with tag processor for duotone class render #49212 - @ajlende | Trac ticket | Core backport PR
- Selectors API: Fix for global styles hook, style variations, and duotone #49393 - @aaronrobertshaw | Trac ticket | Core backport PR for duotone changes and Trac ticket | Core backport PR for the rest
- Duotone: Pass filters to the Post Editor #49239 - @scruffian | Trac ticket | Core backport PR
- Selectors API: Make duotone selectors fallback and be scoped #49423 - @aaronrobertshaw | Trac ticket | Core backport PR for duotone changes and Trac ticket | Core backport PR for the rest
- Port colord to PHP #49700 - @scruffian @ajlende | Trac ticket | Core backport PR
- Deprecate remaining global duotone functions #49702 - @scruffian @ajlende | Trac ticket | Core backport PR
- Group duotone outputs and refactor rendering #49705 - @scruffian @ajlende | Trac ticket | Core backport PR
- Polish duotone rendering code #49706 - @scruffian @ajlende | Trac ticket | Core backport PR
- Better error message when theme.json styles use a duotone preset not in settings #50714 - @scruffian @ajlende | Trac ticket | Core backport PR
- Clarify error message if duotone color values is incorrect #51397 - @t-hamano @glendaviesnz | Trac ticket | Core backport PR
📁 block-supports
📄 duotone.php
- Polish duotone rendering code #49706 - @ajlende | Trac ticket | Core backport PR
- Deprecate remaining global duotone functions #49702 - @ajlende | Trac ticket | Core backport PR
- Duotone: Limit SVG filter output to used filters #49103 - @jeryj @ajlende | Trac ticket | Core backport PR
- Duotone: Pass filters to the Post Editor #49239 - @scruffian | Trac ticket | Core backport PR
- Selectors API: Make duotone selectors fallback and be scoped #49423 - @aaronrobertshaw | Trac ticket | Core backport PR for duotone changes and Trac ticket | Core backport PR for the rest
- Port colord to PHP #49700 - @scruffian @ajlende | Trac ticket | Core backport PR
- Deprecate remaining global duotone functions #49702 - @scruffian @ajlende | Trac ticket | Core backport PR
- Group duotone outputs and refactor rendering #49705 - @scruffian @ajlende | Trac ticket | Core backport PR
- Polish duotone rendering code #49706 - @scruffian @ajlende | Trac ticket | Core backport PR
📄 elements.php
- Extract a ColorPanel component as a reusable component between Global Styles and Block Inspector #48893 - @youknowriad | Trac ticket | Core backport PR
- Try adding a grid layout type #49018 - @tellthemachines | Trac ticket | Core backport PR
📄 layout.php
-
Use static closures when not using $this #50723 - @westonruter | Trac ticket | Core backport PR(already applied) - Try adding a grid layout type #49018 - @tellthemachines | Trac ticket | Core backport PR
- Add block spacing and layout to Post Template #49050 - @tellthemachines | Trac ticket | Core backport PR
- Add compound class to layout wrapper for global spacing styles #47952 - @tellthemachines | Trac ticket | Core backport PR
- Layout: Move layout definitions out of theme.json #50621 - @andrewserong | Trac ticket | Core backport PR
📄 settings.php
- Update preset styles to use Selectors API #49427 - @aaronrobertshaw | Trac ticket | Core backport PR
📄 shadow.php
- Add box shadow support to blocks (using code editor for now). #46896 - @madhusudhand @glendaviesnz | Trac ticket | Core backport PR
📄 typography.php
- Fluid typography: use logarithmic scale factor to calculate a min font size #49707 - @ramonjd | Trac ticket | Core backport PR
- Fluid typography: use layout.wideSize as max viewport width #49815 - @ramonjd | Trac ticket | Core backport PR
- Fluid typography: ensure max viewport width is used in the editor #51146 (tests only) - @ramonjd | Trac ticket | Core backport PR
- Block Supports: Add text columns (column count) to typography block supports #33587 - @aaronrobertshaw | Trac ticket | Core backport PR
📁 lib/compat/wordpress-6.3
📄 blocks.php
- Block.json: Refactor and stabilize selectors API #46496 - @aaronrobertshaw @scruffian | Trac ticket | Core backport PR
- Selectors API: Fix for global styles hook, style variations, and duotone #49393 - @aaronrobertshaw | Trac ticket | Core backport PR for duotone changes and Trac ticket | Core backport PR for the rest
- Patterns: rename sync_status postmeta to pattern_post_sync_status #52232 @glendaviesnz | Trac ticket | Core backport PR
- Patterns: rename sync_status and move to top level field on rest return instead of a meta field #52146 @glendaviesnz | Trac ticket | Core backport PR
footnotes.php
class-gutenberg-navigation-fallback.php
- Allow developers to opt out of auto-creation of Navigation fallback #52319 @getdave | Trac ticket | Core backport PR
block-patterns.php
- Patterns: Allow for filtering of block patterns by source #51672 - @aaronrobertshaw @talldan | Trac ticket | Core backport PR
📄 get-global-styles-and-settings.php
- Block.json: Refactor and stabilize selectors API #46496 - @aaronrobertshaw @scruffian | Trac ticket | Core backport PR
- Selectors API: Fix for global styles hook, style variations, and duotone #49393 - @aaronrobertshaw | Trac ticket | Core backport PR for duotone changes and Trac ticket | Core backport PR for the rest
- Selectors API: Make duotone selectors fallback and be scoped #49423 - @aaronrobertshaw | Trac ticket | Core backport PR for duotone changes and Trac ticket | Core backport PR for the rest
📄 class-gutenberg-rest-blocks-controller.php
- Patterns: rename sync_status and move to top level field on rest return instead of a meta field #52146 @glendaviesnz | Trac ticket | Core backport PR
📄 class-gutenberg-rest-templates-controller-6-3.php
- Add: Modal to choose a start pattern on new templates. #46248 @jorgefilipecosta @youknowriad | Trac ticket | Core backport PR
📄 class-gutenberg-rest-global-styles-controller-6-3.php
- Rest API: add /revisions endpoint for global styles #49974 - @ramonjd | Trac ticket | Core backport PR
📄 class-gutenberg-rest-global-styles-revisions-controller-6-3.php
- Global styles revisions: remove human time diff and custom author fields from the API response #50234 - @ramonjd | Trac ticket | Core backport PR
navigation-fallback.php
📄 rest-api.php
- Rest API: add /revisions endpoint for global styles #49974 - @ramonjd | Trac ticket | Core backport PR
- Templates API: return post modified datetime in response #51362 - @ramonjd | Trac ticket | Core backport PR
- Patterns: Allow for filtering of block patterns by source #51672 - @aaronrobertshaw @talldan | Trac ticket | Core backport PR
class-gutenberg-rest-block-patterns-controller-6-3.php
- Patterns: Allow for filtering of block patterns by source #51672 - @aaronrobertshaw @talldan | Trac ticket | Core backport PR
📄 get-global-styles-and-settings.php
📄 navigation-block-preloading.php
- Navigation: browse mode list all Navigation Menus. #50840 - @getdave | Trac ticket | Core backport PR
- Improve Nav block loading UX by preloading Navigation menu requests #48683 - @getdave | Trac ticket | Core backport PR
📄 class-gutenberg-rest-global-styles-controller-6-3.php
- Global styles revisions: remove unused private var #50763 - @ramonjd | Trac ticket | Core backport PR
📄 script-loader.php
- Block editor: iframe: add
enqueue_block_assets
#49655 - @ellatrix | Trac ticket | Core backport PR - Duotone: Limit SVG filter output to used filters #49103 - @jeryj @ajlende | Trac ticket | Core backport PR
- Iframe enqueuing: add editorStyle and warning #50091 - @ellatrix | Trac ticket | Core backport PR
- Post editor: iframe if all blocks are v3 #48286 - @ellatrix | Trac ticket | Core backport PR
📄 theme-previews.php
- Add Theme Previews for block themes #50030 - @draganescu @scruffian | Trac ticket | Core backport PR
- Theme Preview: Restrict to admin users #50335 - @scruffian | Trac ticket | Core backport PR
- Refactor theme previews #50338 - @scruffian | Trac ticket | Core backport PR
- Theme Previews: Fix refactor #50354 - @scruffian | Trac ticket | Core backport PR
- Avoid changing non-theme-preview requests #51221 - @okmttdhr | Trac ticket | Core backport PR
- [Block Theme Previews] Change the URL query string for more safety #51312 - @okmttdhr | Trac ticket | Core backport PR
📄 link-template.php
📄 rest-api.php
📄 class-gutenberg-rest-global-styles-revisions-controller.php
- Rest API: add /revisions endpoint for global styles #49974 - @ramonjd | Trac ticket | Core backport PR
- Global styles revisions: ensure the revisions endpoint permissions match the global styles controller #50270 - @ramonjd | Trac ticket | Core backport PR
📁 lib/experimental
📄 block-editor-settings.php
- Try getting Post Content layout on server before editor loads #45299 - @tellthemachines | Trac ticket | Core backport PR
- Avoid declaring a function inside another function #49049 - @felixarntz | Trac ticket | Core backport PR
📄 class-wp-classic-to-block-menu-converter.php
- Consolidate Navigation fallbacks logic between Editor and Front of Site via REST API #48698 - @getdave @scruffian | Trac ticket | Core backport PR
- Add tests for WP_Classic_To_Block_Menu_Converter class #51410 - @getdave | Trac ticket | Core backport PR
📄 class-wp-navigation-fallback-gutenberg.php (Moved to /compat/6-3
)
- Consolidate Navigation fallbacks logic between Editor and Front of Site via REST API #48698 - @getdave @scruffian | Trac ticket | Core backport PR
📄 class-wp-rest-navigation-fallback-controller.php (Moved to /compat/6-3
)
- Consolidate Navigation fallbacks logic between Editor and Front of Site via REST API #48698 - @getdave @scruffian | Trac ticket | Core backport PR
📄 editor-settings.php
- Add Theme Previews for block themes #50030 - @draganescu @scruffian | Trac ticket | Core backport PR
📄 rest-api.php
- Consolidate Navigation fallbacks logic between Editor and Front of Site via REST API #48698 - @getdave @scruffian | Trac ticket | Core backport PR
📄 kses.php
- Fix custom duotone filters in frontend #50678 - @ajlende | Trac ticket | Core backport PR
- Try adding a grid layout type #49018 - @tellthemachines | Trac ticket | Core backport PR
📄 navigation-fallback.php
- Use Core Data for Nav fallbacks and side load resulting entity into state #50032 - @getdave | Trac ticket | Core backport PR
📁 packages/style-engine
📄 packages/style-engine/class-wp-style-engine.php
- Add box shadow support to blocks (using code editor for now). #46896 - @madhusudhand @glendaviesnz | Trac ticket | Core backport PR
- Style Engine: Add support for text columns (column-count) #46566 - @aaronrobertshaw @ramonjd | Trac ticket | Core backport PR
🚧 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)
- Font Library #50927 - @matiasbenedetto
- [Fonts API] Refactor Theme JSON global functions into WP_Fonts_Resolver #50811 - @anton-vlasenko @hellofromtonya
- [Fonts API] Make local font asset file URL absolute #51178 - @hellofromtonya
- [Webfonts] Change architecture to use Core's Dependencies API #43492 - @hellofromtonya
- [Fonts API] Relocate which fonts to print into wp_print_fonts() #50151 - @hellofromtonya
andrewserong
Metadata
Metadata
Assignees
Labels
Gutenberg PluginIssues or PRs related to Gutenberg Plugin management related effortsIssues or PRs related to Gutenberg Plugin management related efforts[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.Tactical breakdown of efforts across the codebase and/or tied to Overview issues.