Related Trac ticket 57471.
This is the tracking issue to coordinate the backporting of all PHP changes added in the Gutenberg plugin that needs to be backported for the WordPress 6.2 release.
Files listed for WP 6.2
PRs that are strickenthrough are already merged in WordPress Core
Getting Involved
If you are interested in helping with the effort, you can comment (or edit the issue's description) with your name next to the file. It would also help to link to Track issues / GitHub PRs in WordPress core when they are available.
Action items when working on backports:
- Update the files to follow best practices. Mostly rename functions/classes to use the
wp_ prefix instead of gutenberg_ and guard with declaration checks for code that needs to be backported to WordPress core.
- Identify files and functionality that need to be backported to WordPress core.
- Ensure all files, classes, methods, properties, and functions have the
@since 6.2.0 documentation tag included.
- Ensure all functionality backported to WordPress core has unit tests written.
Issue modeled after #43440
Related Trac ticket 57471.
This is the tracking issue to coordinate the backporting of all PHP changes added in the Gutenberg plugin that needs to be backported for the WordPress 6.2 release.
Files listed for WP 6.2
PRs that are strickenthrough are already merged in WordPress Core
libclass-wp-theme-json-gutenberg.phpclass-wp-theme-json-resolver-gutenberg.php| Trac ticket | Core PRclient-assets.phpMight need a backport because of React 18 update.lib/block-supportsMinor code tweaks/optimizations (PHP) #43375- @aristathMinor code tweaks/optimizations (PHP) #43375- @aristathwp_initial_constants()are defined #45979 | Trac ticket | Commited ✅These are minor changes, and I (@Mamaduka) will backport them.
@tellthemachines, @andrewserong, @jorgefilipecosta
WP_HTML_Tag_Processor@andrewserong | Trac Ticket | Core PR
@jorgefilipecosta, @dmsnell
@ramonjd | Trac ticket | Core PR
lib/compat/wordpress-6.2@glendaviesnz | trac ticket | core PR
block_typesfrom Pattern Directory | Trac ticket | Committed ✅ @ntsekouras@jorgefilipecosta, @ntsekouras, @Mamaduka, @youknowriad
@jorgefilipecosta
@Mamaduka, @youknowriad
@ntsekouras, @jorgefilipecosta
@glendaviesnz, @youknowriad, @Mamaduka
6.3)@ryelle, @ntsekouras
wp_theme_has_theme_jsonas a public API to know whether a theme has atheme.json#45168 @oandregal @hellofromtonya | Trac ticket | Committed ✅wp_theme_has_theme_jsonto useWP_Object_Cache#45543gutenberg_get_global_stylesheetto useWP_Object_Cache#45679theme.jsonobject caches non persistent #46150@oandregal, @mmtr @hellofromtonya | Trac ticket | Committed ✅
@ntsekouras
wp_theme_has_theme_jsonas a public API to know whether a theme has atheme.json#45168 @oandregal @hellofromtonya | Trac ticket | Committed ✅wp_theme_has_theme_jsonto useWP_Object_Cache#45543wp_theme_has_theme_jsonwhenWP_DEBUGis enabled #45882 @oandregal @hellofromtonya | Trac ticket | Committed ✅gutenberg_get_global_stylesheetto useWP_Object_Cache#45679gutenberg_get_global_settings#45971wp_initial_constants()are defined #45979theme.jsonobject caches non persistent #46150 @oandregal, @mmtr @hellofromtonya | Trac ticket | Committed ✅WP_Object_Cacheto thegutenberg_get_global_settingsmethod #45372gutenberg_get_global_stylesheet#46817The changes here are covered by
wp_get_global_settings: add object cache wordpress-develop#3789. @oandregal, we might need to sync DocBlock fixes.@Mamaduka, @youknowriad, @ryelle, @glendaviesnz, @ntsekouras
@youknowriad, @ramonjd, @ellatrix, @noahtallen, @t-hamano
@youknowriad
@Mamaduka
@Mamaduka
lib/experimentalHTML Tag Processor: @ockham, @dmsnell, @adamziel
class-wp-html-attribute-token.phpclass-wp-html-span.phpclass-wp-html-tag-processor.phpclass-wp-html-text-replacement.phpGetting Involved
If you are interested in helping with the effort, you can comment (or edit the issue's description) with your name next to the file. It would also help to link to Track issues / GitHub PRs in WordPress core when they are available.
Action items when working on backports:
wp_prefix instead ofgutenberg_and guard with declaration checks for code that needs to be backported to WordPress core.@since 6.2.0documentation tag included.Issue modeled after #43440