The WordPress coreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress. development team builds WordPress! Follow this site for general updates, status reports, and the occasional code debate. There’s lots of ways to contribute:
Found a bugbugA bug is an error or unexpected result. Performance improvements, code optimization, and are considered enhancements, not defects. After feature freeze, only bugs are dealt with, with regressions (adverse changes from the previous version) being the highest priority.?Create a ticket in our bug tracker.
“What’s new in GutenbergGutenbergThe Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/…” posts (labeled with the #gutenberg-newtagtagA directory in Subversion. WordPress uses tags to store a single snapshot of a version (3.6, 3.6.1, etc.), the common convention of tags in version control systems. (Not to be confused with post tags.)) are posted following every Gutenberg release on a biweekly basis, showcasing new features included in the release. As a reminder, here’s an overview of different ways to keep up with Gutenberg and the Site Editor project (formerly called Full Site Editing).
This release sees the blockBlockBlock is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. inspector tabs experiment stabilized, prevents images from being resized larger than their containing element, and adds the ability to paste styles from one block to another. In addition, there’s now a “sticky” option for blocks enabling them to stay in view while the rest of the content scrolls.
Block inspector tabs experiment has been stabilized
The block inspector tabs experiment has been stabilized with the release of Gutenberg 15.0. Some blocks now split controls between separate tabs in the inspector panel. If you’ve enabled the “Off canvas navigation editor” experiment then you will additionally see the list view tab whenever a Navigation block is selected in the editor. This in turn will contain a list of the links that you can edit. This enables a new way of editing menus that supplements, and doesn’t replace, the on-canvas functionality. (47045)
“Paste styles” option added to the block settings
Gutenberg 15.0 introduces “Paste styles” making it easier to create multiple blocks with identical styling. This enables the user to copy a block and then paste just the styling of that block into another block The “Paste styles” option is available in the drop-down menu from the block’s settings panel, as demonstrated in the video above. (45477)
Edit block style variations from global styles
In a block that has variations, e.g., Button, Image, or Site Logo, it is now possible to change their styles via the Global styles panel, and those changes should only affect that specific variation. See a demo in the video above. (46343)
Images constrained to their containers
Prior to this release if you resized an image block using the handles it could easily be set to a size larger than the container. Now when you drag the handles the image remains constrained to the container and is prevented from being resized larger than its container. (45775)
New “Sticky” Position block support
A block can now be decoupled from the page layout. A new Position block support adds a “Sticky” option so that a block remains within the viewport and is stuck to the top of the page when the content is scrolled instead of scrolling with the rest of the content. This is useful if you need to ensure that an element, such as a status message or a promotion, remains on screen regardless of the page’s scroll position. It works in the block editor as well as in the front-end so the editor provides a true WYSIWYGWhat You See Is What You GetWhat You See Is What You Get. Most commonly used in relation to editors, where changes made in edit mode reflect exactly as they will translate to the published page. experience for this feature. You can learn about some follow up tasks to this initial implementation in this issue. (46142)
Other notable highlights
Allow sidebarSidebarA sidebar in WordPress is referred to a widget-ready area used by WordPress themes to display information that is not a part of the main content. It is not always a vertical column on the side. It can be a horizontal rectangle below or above the content area, footer, header, or any where in the theme. and frame resizing
This release enables the ability to resize the sidebar in the site editor allowing you to change the proportion of sidebar to frame. See it in action in this video. (46903)
Synchronize the canvas mode with the site editor URLURLA specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org
Gutenberg 15.0 updates the site editor to persist the “edit mode” in the URL. So for example if you’re in edit mode and then refresh the page, you get back to the same state thereby avoiding the need to click “edit” every time you reload the page. (47002)
Enable copy/cut shortcut
Keep your hands on the keyboard – the copy/cut/paste shortcuts (Ctrl/Cmd + C, Ctrl/Cmd + X, Ctrl/Cmd + V) now work in the Site Editor. (45752)
Changelog
Enhancements
Site Editor
Allow resizing the sidebar and frame of the site editor. (46903)
Remove the editor notices from the site editor frame. (46931)
Synchronize the canvas mode with the site editor URL. (47002)
Prevent the image from being resized larger than its container. (45775)
Replace block settings menu with a custom menu in off canvas editor. (46675)
Add help text on the HTMLHTMLHyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. element for the Comments and Query LoopLoopThe Loop is PHP code used by WordPress to display posts. Using The Loop, WordPress processes each post to be displayed on the current page, and formats it according to how it matches specified criteria within The Loop tags. Any HTML or PHP code in the Loop will be processed on each post. https://codex.wordpress.org/The_Loop. blocks. (46989)
Navigation: Add an icon to the add submenu item option. (46884)
Navigation: Show the loading indicator when users add a new navigation menuNavigation MenuA theme feature introduced with Version 3.0. WordPress includes an easy to use mechanism for giving various control options to get users to click from one place to another on a site.. (46855)
Page List Block: Fix warning error when the parent page has no child pages. (46829)
Block editor: Move content styles to avoid triggering iframeiframeiFrame is an acronym for an inline frame. An iFrame is used inside a webpage to load another HTML document and render it. This HTML document may also contain JavaScript and/or CSS which is loaded at the time when iframe tag is parsed by the user’s browser. compat mode. (46728)
Iframe: Preload style assets to avoid flash of unstyled content. (46706)
Inspector Controls
Sidebar Tabs: Add text only mode for block inspector tabs. (46968)
Sidebar Tabs: Stabilize the block inspector tabs experiment. (47045)
[Social Icon]: Fix ReactReactReact is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. https://reactjs.org/. warning when adding link label. (46905)
Components
ComboboxControl: Fix unexpected behavior in IME Composition. (46827)
Fix TreeGrid keyboard nav skipping Edit Block button in off canvas editor. (46998)
[Placeholder]: Set fixed right margin for label’s icon. (46918)
Tabs in preferences: Fix regressionregressionA software bug that breaks or degrades something that previously worked. Regressions are often treated as critical bugs or blockers. Recent regressions may be given higher priorities. A "3.6 regression" would be a bug in 3.6 that worked as intended in 3.5. from horizontal tabs. (46796)
Global Styles
Fix the ‘test_remove_invalid_element_pseudo_selectors’ test case. (47049)
Fixed Global Styles variables for colors, font family, gradient, fontSize. (46944)
Inspector Controls
Block Inspector: Fix browser warning error when block is not selected. (46875)
Performance
Post Editor
Lodash: Remove _.pickBy() from editor hooksHooksIn WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same.. (46982)
Lodash: Remove _.pickBy() from template deletion. (46975)
Lodash: Remove _.pickBy() from block editor and deprecate. (46999)
Design Tools: Add a Position block support (including sticky), decoupled from layout. (46142)
Documentation
Adds “fluid” field inside settings.typography. (45705)
Docs: Add recommendation for developers to use GH CLICLICommand Line Interface. Terminal (Bash) in Mac, Command Prompt in Windows, or WP-CLI for WordPress.. (46847)
Quick update to versions in WordPress doc for 6.1.1. (46850)
ReactDOM.render deprecated, update Element README. (46925)
Remove stack exchange from new issue templates. (36158)
Update legacy-widgetWidgetA WordPress Widget is a small block that performs a specific function. You can add these widgets in sidebars also known as widget-ready areas on your web page. WordPress widgets were originally created to provide a simple and easy-to-use way of giving design and structure control of the WordPress theme to the user.-block.md. (44343)
useSelect: Implement with useSyncExternalStore. (46538)
Block Library
Navigation Link: Fix PHPPHPThe web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher notices in unit tests. (47070)
Video Block: Fix browser warning error when settings are toggled. (46835)
Adds an identifier prop to the RichText component for captions, allowing annotation. (46917)
Fix: Use of array index instead of post id on latest posts. (46911)
Block Editor
Simplify the way we create a link UI control in the offcanvas editor. (46744)
Fix number of arguments passed to hasBlockMetadataSupport. (46842)
Tools
Testing
Block inserter search end-to-end test: Scope list item lookup to the inserter panel. (47066)
Migrate Manage Reusable Block to Playwright. (45621)
Migrate Post Visibility Test to Playwright. (44488)
Navigation block end-to-end tests: Default to a list of pages if there are no menus. (45070)
Only use a single comment for the flakiness report on PRs. (46785)
Mobile – Move the gutenberg-editor-block-insertion-2 end-to-end tests to integration tests. (46882)
Chore: Fix incorrect usage of map instead of forEach. (46853)
Chore: Remove unreachable line from phpunit/fixtures/mock-provider.php. (46843)
Build Tooling
package.jsonJSONJSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML.: Add script to profile unit tests. (46909)
First time contributors
The following PRs were merged by first time contributors:
@BogdanUngureanu: Fixed Global Styles variables for colors, font family, gradient, fontSize. (46944)
Fonts APIAPIAn API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways.:
Planning to finish my WP coreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress. backports before the end of the week. Tracking issue Plugin: Backport PHP changes for WordPress 6.2 release.
My focus in 6.2 as Core Tech Lead is on these backports. If you need anything, pingPingThe act of sending a very small amount of data to an end point. Ping is used in computer science to illicit a response from a target server to test it’s connection. Ping is also a term used by Slack users to @ someone or send them a direct message (DM). Users might say something along the lines of “Ping me when the meeting starts.” me.
“Hello. We need volunteer(s) to represent the Core Team and help lead tasks at WordCampWordCampWordCamps are casual, locally-organized conferences covering everything related to WordPress. They're one of the places where the WordPress community comes together to teach one another what they’ve learned throughout the year and share the joy. Learn more. Asia Contributor DayContributor DayContributor Days are standalone days, frequently held before or after WordCamps but they can also happen at any time. They are events where people get together to work on various areas of https://make.wordpress.org/ There are many teams that people can participate in, each with a different focus. https://2017.us.wordcamp.org/contributor-day/https://make.wordpress.org/support/handbook/getting-started/getting-started-at-a-contributor-day/. in February. Could you please include this on your agenda. If there are specific items you are planning from core-editor, could you please share them too. It is expected to be a very large contributor day. Thanks so much.” —> If you plan on going to WordCamp Asia and want to help out for the Contributor Day please contact Abha.
Last week @antonvlasenko merged changes to the GutenbergGutenbergThe Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/’s CI. The PHPUnit tests will now run on ALL supported PHPPHPThe web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher versions. This work is part of a larger strategy to keep Gutenberg code Core-ready throughout the entire development process and long before it’s time to backportbackportA port is when code from one branch (or trunk) is merged into another branch or trunk. Some changes in WordPress point releases are the result of backporting code from trunk to the release branch. to Core. As such, the CI will take longer to run. But it’s necessary to ensure the code is compatible with all supported PHP versions to catch any incompatibilities as early as possible. If there are any problems, please reach out to @antonvlasenko who’s monitoring the CI.
GutenbergGutenbergThe Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ 15.0 RCrelease candidateOne of the final stages in the version release cycle, this version signals the potential to be a final release to the public. Also see alpha (beta). will be released today
Async key project updates
Read the latest updates directly from the following tracking issues:
@mamaduka would like some eyes on Global Styles: Don’t remove Custom CSS for users with the correct caps because the tests pass locally but not on GithubGitHubGitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. https://github.com/.
@hellofromtonya mentioned that Webfonts APIAPIAn API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways. architecture should be unblocked by Monday Jan 16th for giving courtesy time this week for CoreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress. Committers to weigh in on the API renaming from “Webfonts” to “Fonts”.
@hellofromtonya asked that if there is a bugfix, feature, or enhancementenhancementEnhancements are simple improvements to WordPress, such as the addition of a hook, a new feature, or an improvement to an existing feature. ready to backportbackportA port is when code from one branch (or trunk) is merged into another branch or trunk. Some changes in WordPress point releases are the result of backporting code from trunk to the release branch. to Core, please open a TracTracAn open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. ticket for it and create a PR. Instead of waiting until before Feature Freeze.
@paaljoachim opened a discussion to be had around the meeting time. Should we move it 1h later?
Note: Anyone reading this summary outside of the meeting, please drop a comment in the post summary, if you can/want to help with something.
@ntsekouras Updates on Query LoopLoopThe Loop is PHP code used by WordPress to display posts. Using The Loop, WordPress processes each post to be displayed on the current page, and formats it according to how it matches specified criteria within The Loop tags. Any HTML or PHP code in the Loop will be processed on each post. https://codex.wordpress.org/The_Loop.
Moving color block support to the Post Template blockBlockBlock is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience.
Status: Blocked by architectural work. (Dec 12/19)
Done: The major architectural redesign (See #41481) is now merged. The new architecture is a code rewrite which has breaking changes. Some high-level details:
Changes data structures and publicly exposed functions/methods.
Includes a temporary backwards-compatible (BC) layer that throws deprecation notices to alert developers of where they need to modify their code to use the APIAPIAn API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways.. This BC layer will not be backported to CoreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress..
Next: There are 2 more architectural tasks that need to be completed to unblock the remaining bugs, performance, and feature work can continue.
Test: Please test the new architecture and share feedback and testing reports.
Using the Webfonts API? Update your pluginPluginA plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party/theme to the new API.
@annezazu Latest Phase 2 work update As expected, a number of PRs are now stalled due to folks taking time off. This is a wonderful and expected pause in the work! Some brief things to note:
These “CoreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress. Editor Improvement…” posts (labeled with the #core-editor-improvementtagtagA directory in Subversion. WordPress uses tags to store a single snapshot of a version (3.6, 3.6.1, etc.), the common convention of tags in version control systems. (Not to be confused with post tags.)) are a series dedicated to highlighting various new features, improvements, and more from Core Editor related projects.
In the last few GutenbergGutenbergThe Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ releases, a collection of work provides massive improvements to the Site Editor to scale the experience, provide clarity, and add new functionality with more planned. These features make it easier to get a complete view of your site and add more ways to make changes to it, from a new Navigation blockBlockBlock is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. experience to Custom CSSCSSCascading Style Sheets.. The improved experience also addresses key pieces of feedback that have come up in places like the FSE Outreach Program: frustration with the navigation block, confusion around what pieces are globally editable, desire to add custom CSS, a sense of overwhelm with the number of block settings, and more. While iteration will always be required, this marks a substantial shift in refinement, functionality, and ease, paving the way for wrapping up phase 2.
Providing clarity and ease
Previously, when making changes to your site, it was hard to know how those changes might impact other pieces. For example, if you opened up Styles and made changes to a block that wasn’t visible on the template you were on, it wasn’t clear how the changes might land. The same thing happened with Template Part blocks where changes made to one instance impacted all others. There was no indication in the interface that these blocks functioned differently.
Now, with both the Style Book and built in previews of the Styles system, it’s far easier to know the impact of what you’re doing with Styles. The Style Book accomplishes this by providing a way to toggle a view of Styles that shows all blocks, separated into sections:
Meanwhile, the previews baked into Styles offer another way to see at a glance the changes you’re making without needing to fully enter the Style book. Each offers a specific way to engage with styling your site as you see fit.
Site navigation is an incredibly important part of building most sites and the Navigation block has often struggled to offer an experience that covered the majority use case of building a simple menu. While improved fallbacks in 6.1 provided a big step forward, the base usability still needed to be refined. Over the last few releases, as an experiment in Gutenberg > Experiments, an editable list view in block settings has been added to the Navigation block. This editable list view feels reminiscent of the prior menu editing experience but rooted in the world of blocks. You can follow this work in the project’s dedicated GitHub board or the current Navigation block tracking issue.
Scaling the experience
With more templates being added, more functionality, and more types of content in the Inserter, there are numerous situations where the interface needed to scale to accommodate the growing nature of the site editor. This ensures that, as more is added to the experience, the complexity is managed in a way that still makes building a site delightful and intuitive.
Rather than being in a more narrow yet important part of your site when opening the Site Editor, you can now explore it in its entirety and edit from there with Browse mode. This new mode reorganizes the site editor by providing a way to move between templates and template parts. You can add new templates or template parts directly from this interface or choose to edit whenever you’d like. This stands in contrast to the prior experience of opening the Site Editor and being dropped into the template powering the homepage, without necessarily knowing how to get to other templates or template parts.
The Inserter experience was leveled up for patterns, a key part of content and site creation which save time by relying on pre-built designs. The previous design required you to choose from a dropdown before viewing each categoryCategoryThe 'category' taxonomy lets you group posts / content together that share a common bond. Categories are pre-defined and broad ranging. of patterns. The new design provides an easy way to see and click between each category before showing larger previews of each pattern, with the option to hover over a pattern to see its name. More work is underway to continue refinements by updating the category names and distinctions. When looking ahead to integration with the Pattern Directory and potential exposure to far more patterns, this iteration provides a strong foundation.
With an immense number of new design tools introduced in 6.1, the block settings interface needed to adapt. To simplify and organize the experience, the block settings were split into different tabs, adapting based on the needs of each block. While this results in more steps to get to different settings, it provides a mental framework for customizing blocks that better reflects what each option does. This is particularly relevant for more complex blocks, like the Navigation or Group blocks. Room remains to improve this experience, particularly around how to best handle unset/inherited values, and it currently is listed as an experiment to enable in Gutenberg > Experiments.
While the site editor, launched in WordPress 5.9, initially started in a more contained state, each WordPress release brings new functionality to accomplish more. In some cases, this means old things done in new ways to customize your content, like with Custom CSS, and in other cases it has more to do with easing embracing the Site Editor, like with the ability to migrate widgets to block themes.
Block themers and designers alike have long requested Custom CSS, even as design tools grow enabling you to use built in functionalitytools. For many, there are always going to be items that aren’t covered by Styles, As of Gutenberg 14.8, there’s now the option to add Custom CSS directly in the Style’s interface so you can customize directly while using the Site Editor and ensure those customization stick across themes. This is currently listed as an experiment in Gutenberg > Experiments with work underway to stabilize the feature. Alongside this effort, work is underway to add per block Custom CSS too so they can work in unison.
Previously when creativity struck in the Site Editor as you were styling an individual block, you’d have to copy what you came up with to the Styles system for that individual block at a global level. As of Gutenberg 14.9, that changes with the introduction of a “Push changes to Global Styles” button which automatically moves those changes to an individual block to Styles. This new functionality makes it easier to design on the go, knowing you can ensure consistency with a press of a button. Iterations are already underway to make this option even more user friendly.
Lastly, the Inserter now allows for media to be added directly so you can add blocks, patterns, and your recent media library items all from one place. Next up, Openverse integration is underway, meaning you’d soon have access to everything within Openverse to use as you create your site.
What’s next?
More work remains to be done around each of these areas and you can follow along in this tracking issue on GitHub where updates are provided weekly for a main set of tasks. If you want to help shape what’s being worked on, know GitHub issues/PRs are always welcome and the FSE Outreach Program continues to facilitate explorations and calls for testing to explore each of these features. All are welcome to join, regardless of experience level with the Site Editor or WordPress in general.
“What’s new in GutenbergGutenbergThe Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/…” posts (labeled with the #gutenberg-newtagtagA directory in Subversion. WordPress uses tags to store a single snapshot of a version (3.6, 3.6.1, etc.), the common convention of tags in version control systems. (Not to be confused with post tags.)) are posted following every Gutenberg release on a biweekly basis, showcasing new features included in each release. As a reminder, here’s an overview of different ways to keep up with Gutenberg and the Site Editor project (formerly called Full Site Editing).
Push blockBlockBlock is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. changes to Global Styles
Gutenberg 14.9 introduces a new button titled Push changes to Global Styles under the Advanced panel for individual blocks. This allows users to make changes while editing a template in the Site Editor but apply those changes on the global level. The new feature makes it much easier to keep a consistent design without needing to edit individual templates. (46446)
Typography support for Page List block
The Page List block now supports all typography options, including setting the font size, family, and more. This change is part of a larger effort to bring a consistent set of design tools across all coreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress. blocks. (43316)
Import sidebarSidebarA sidebar in WordPress is referred to a widget-ready area used by WordPress themes to display information that is not a part of the main content. It is not always a vertical column on the side. It can be a horizontal rectangle below or above the content area, footer, header, or any where in the theme. widgets to template parts
When inserting a new template part into a template in the Site Editor, users can now import widgets from a previously-registered dynamic sidebar. This is a transitioning tool to help users move from classic theme setups to blocks without losing work that they’ve put into their sites. (45509)
theme.jsonJSONJSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML. support: shadow presets and minimum fluid font size
WordPress theme authors can now opt into the new box-shadow feature, creating a set of custom presets to use in their designs. This system works similarly to colors, gradients, and other opt-in design tools. (46813)
Currently, the UIUIUser interface that would allow user overrides for this feature is still under development. However, the following screenshot is a preview of what it might look like:
Theme authors who use the built-in fluid typography system in theme.json can now set a minimum font size via settings.typography.fluid.minFontSize. By default, the minimum is set to 14px, but this may not be ideal for all designs. This new setting gives developers more control over how fluid typography is handled. (42489)
Other Notable Highlights
The previous Gutenberg release (version 14.8) introduced a new Site Editor sidebar, a hub for navigating the sections of a site. Version 14.9 continues iterating on this feature. The sidebar now displays the template title and type with a contextual edit button that sits beside them. The sidebar’s width has also increased, giving its content a bit more breathing room. (46736), (46769), (46700)
Developers can also now register patterns for specific template types, limiting where the patterns appear. For example, an Error 404 pattern would only make sense when used with the 404 template. (45814)
Change log
Features
Global Styles
Site Editor: Add new ‘Push changes to Global Styles’ button. (46446)
Patterns
Add: Template types to the patterns APIAPIAn API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways.. (45814)
Enhancements
Post editor: IframeiframeiFrame is an acronym for an inline frame. An iFrame is used inside a webpage to load another HTML document and render it. This HTML document may also contain JavaScript and/or CSS which is loaded at the time when iframe tag is parsed by the user’s browser. for block-based themes. (46212)
Move word count to the top of the outline. (46648)
Update: Remove need for template prefix in gutenberg_get_template_hierarchy. (46257)
Update: Use offsite navigation editor on the navigation inspector sidebar. (46440)
Site Editor
Add the template title and type to the site hub. (46736)
Increase the width of the site editor sidebar. (46769)
Move the edit button in the site editor sidebar to a contextual widgetWidgetA WordPress Widget is a small block that performs a specific function. You can add these widgets in sidebars also known as widget-ready areas on your web page. WordPress widgets were originally created to provide a simple and easy-to-use way of giving design and structure control of the WordPress theme to the user.. (46700)
Block Library
Navigation: Adds page list as child of submenu. (46414)
Navigation: Bring back the heading and the menu selector in the ellipsis menu. (46622)
Template Parts: Add an option to import widgets from the sidebars. (45509)
Iframe: Restore typewriter effect in post editor. (46745)
Parse the attributes in a case-insensitive way to comply with the HTMLHTMLHyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. parsing spec. (46748)
Update: Guard against null block in off canvas editor. (46594)
docgen: Add function to handle list of types for theme.json schema. (46375)
Fix Off Canvas Editor add submenu item option. (46562)
Make table of contents label in placeholder translatable. (46788)
Query LoopLoopThe Loop is PHP code used by WordPress to display posts. Using The Loop, WordPress processes each post to be displayed on the current page, and formats it according to how it matches specified criteria within The Loop tags. Any HTML or PHP code in the Loop will be processed on each post. https://codex.wordpress.org/The_Loop.: Fetch terms suggestions dynamically. (46649)
Components
FocalPointPicker: Fix layout misalignment when placed in the BlockInspector. (46631)
Storybook: Fix crash when parameters is undefined. (46670)
Toolbar: Fix duplicate focus style on anchor link button. (46759)
Widgets Editor
Revert “[customize-widgets/utils/widgetToBlock] Initialize a widget’s raw_content.content to an empty string if it’s undefined“. (46600)
[customize-widgets/utils/widgetToBlock] Initialize a widget’s raw_content.content to an empty string if it’s undefined. (46487)
Inserter: Try fix media tab when upload of media types has been disabled. (46676)
Build Tooling
Restore gutenberg_ prefix to function calls in PHPUnit tests. (46662)
Patterns
Pattern Setup: Fix full heights during transition. (46615)
Design Tools
Verse: Prevent default styles overriding theme.json font family. (46560)
Block Variations
Block Variation Picker: Adds support to declared icon with source. (46373)
Themes
theme.json schema: Allow object type on style properties. (45897)
AccessibilityAccessibilityAccessibility (commonly shortened to a11y) refers to the design of products, devices, services, or environments for people with disabilities. The concept of accessible design ensures both “direct access” (i.e. unassisted) and “indirect access” meaning compatibility with a person’s assistive technology (for example, computer screen readers). (https://en.wikipedia.org/wiki/Accessibility)
Block editor: iframe/writing flow: Change tab index to 0. (46323)
Lodash: Refactor components away from _.find(). (46537)
Experiments
Add rough animation to navigation and links. (46342)
Tag Processor: Fix a problem backing up too far after updating HTML. (46598)
Block Library
Improve empty menu state in nav off-canvas editor. (46602)
Nav offcanvas – handle non-direct insert block inserter. (46503)
Navigation list view: Use smaller lock icon. (46578)
Documentation
Add missing prefix in PHPDocPHPDoc(docblock, inline docs) comment. (46808)
Clarifying the npm package release process for the RCrelease candidateOne of the final stages in the version release cycle, this version signals the potential to be a final release to the public. Also see alpha (beta). release. (46555)
Doc: Fix missing link to Block Styles page. (46695)
Element: Export new ReactReactReact is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. https://reactjs.org/. 18 APIs. (46610)
Block Library
Comments Block: Remove unnecessary editorStyle prop in legacy metadata. (46514)
Extract hook for offcanvas inserted block. (46618)
BlockListAppender: With custom appender, don’t react to nested list settings changes. (46461)
Paste: Reuse file transforms for file pasting. (45891)
Site Editor: Don’t show block inserter when the canvas is view mode. (46763)
Data Layer
Data: Recreate listeningStores set for every markListeningStores call. (46607)
useSelect: Add unit tests for static select mode. (46606)
Navigation MenuNavigation MenuA theme feature introduced with Version 3.0. WordPress includes an easy to use mechanism for giving various control options to get users to click from one place to another on a site. Sidebar
Navigation Sidebar: Hide behind the experiment flag. (46710)
Change SpacingSizesControl ARIA from region to group. (46530)
Global Styles
Inline block preview: Add preview block in nested global style panels. (46401)
Typography
Typography block supports: Sync with 6.1 backportbackportA port is when code from one branch (or trunk) is merged into another branch or trunk. Some changes in WordPress point releases are the result of backporting code from trunk to the release branch.. (43928)
Web Fonts
Change architecture to use Core’s Dependencies API. (43492)
First time contributors
The following PRs were merged by first time contributors:
@gigitux: Block Variation Picker: Adds support to declared icon with src. (46373)
“What’s new in GutenbergGutenbergThe Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/…” posts (labeled with the #gutenberg-newtagtagA directory in Subversion. WordPress uses tags to store a single snapshot of a version (3.6, 3.6.1, etc.), the common convention of tags in version control systems. (Not to be confused with post tags.)) are posted following every Gutenberg released on a biweekly basis, discovering new features included in each release. As a reminder, here’s an overview of different ways to keep up with Gutenberg and the Site Editor project (Formerly known as Full Site Editing).
Gutenberg 14.8 has been released and is available for download!
With Gutenberg 14.8, the Site Editor interface gets a major overhaul and introduces Browse Mode. It is now easier than ever to navigate through templates and template parts. It’s even possible to add new ones through the sidebarSidebarA sidebar in WordPress is referred to a widget-ready area used by WordPress themes to display information that is not a part of the main content. It is not always a vertical column on the side. It can be a horizontal rectangle below or above the content area, footer, header, or any where in the theme.. The work on this feature is ongoing and will continue to improve as new Gutenberg versions are released. (44770), (45100), (46458)
Introducing the Style Book
Users and designers can view and edit all blocks via the new Style Book feature, which is an extension of the Styles panel in the Site Editor. The interface exposes both coreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress. and third-party blocks from plugins and are broken down by categoryCategoryThe 'category' taxonomy lets you group posts / content together that share a common bond. Categories are pre-defined and broad ranging.. The Style Book provides an overview of all blockBlockBlock is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. styles in a centralized location while also making it easier to quickly make changes at the global level. (45960).
The Styles panel also offers a preview when customizing individual blocks. (45719)
Add custom CSSCSSCascading Style Sheets. rules for your site
Bringing feature parity with the WordPress customizerCustomizerTool built into WordPress core that hooks into most modern themes. You can use it to preview and modify many of your site’s appearance settings., you can now add custom CSS via the Styles > Custom panel in the Site Editor. This will allow users and designers to quickly make changes that won’t be overwritten by a theme update. (46141), (46561), (46663) Currently, this is an experimental feature that can be enabled by visiting Gutenberg > Experiments and ticking the Global styles custom CSS checkbox.
Other Notable Highlights
List/quote: Unwrap inner block when pressing Backspace at start
Gutenberg 14.8 will now unwrap inner blocks of the List and Quote blocks when backspacing at the start. This results in the first inner block becoming a Paragraph that is separate from its previous parent List or Quote container. (45075)
Pattern title tooltip
The inserter now shows pattern titles when focused on or hovering an individual pattern preview. These were previously hidden from view and only shown to screen readers. (46419)
Navigation Block Improvements
This release continues to improve on the Navigation block with several changes that are building blocks for future releases. These include adding a location fallback for classic menus and an “open list view” button. The Page List block also has a convert panel when used within a Navigation block. (46426), (45976), (46286), (46335), (46070), (46352)
Changelog
Enhancements
Block Library
Add a current-menu-ancestor class to navigation items. (40778)
Page List Block: Adds a longdash tree to the parent selector. (46336)
Page List Block: Hide page list edit button if no pages are available. (46331)
Page List: Add convert panel to Inspector Controls when within Nav block. (46352)
Page List: Prevent users from adding inner blocks to Page List. (46269)
Reusable block: Pluralize the message “Convert to regular blocks” depending on the number of blocks contained. (45819)
Heading Block: Don’t rely on the experimental selector anymore. (46284)
Media & Text Block: Create undo history when media width is changed. (46084)
Navigation block: Add page list to Link UIUIUser interface transforms in Nav block. (46426)
Navigation block: Add location->primary to fallback nav creation for classic menus. (45976)
Navigation block: Update fallback nav creation to the most recently created menu. (46286)
Navigation block: Add a ‘open list view’ button. (46335)
Navigation block: Removes the headerHeaderThe header of your site is typically the first thing people will experience. The masthead or header art located across the top of your page is part of the look and feel of your website. It can influence a visitor’s opinion about your content and you/ your organization’s brand. It may also look different on different screen sizes. from the navigation list view in the experiment. (46070)
Add a CSS style to theme.jsonJSONJSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML. to allow the setting of custom CSS strings. (46255)
Expose before filterFilterFilters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output. hook in useSettings for injecting block settings in the editor. (45089)
Global styles: Add a custom CSS panel to the site editor (currently behind an experimental flag). (46141)
Site Editor
Allow adding new templates and template parts directly from the sidebar. (46458)
Synchronize the sidebar state in the URLURLA specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org. (46433)
Try template drill down on the shell sidebar (browse mode). (45100)
Reorganize the site editor to introduce Browse Mode. (44770)
Block Editor
Update the synced block hover styles in Inserter. (46442)
Add new selector getLastInsertedBlockClientId. (46531)
PluginPluginA plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party
Update the Gutenberg plugin to require at least the WP 6.0 version. (46102)
PHPPHPThe web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher: BackportbackportA port is when code from one branch (or trunk) is merged into another branch or trunk. Some changes in WordPress point releases are the result of backporting code from trunk to the release branch. changes from core theme resolver. (46250)
Update: Move gutenberg_register_core_block_patterns from 6.1 to 6.2. (46249)
Upgrade ReactReactReact is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. https://reactjs.org/. packages to v18. (45235)
Themes
Empty Theme: Add the $schema property in theme.json and rename template directories. (46300)
Mobile: Updates packages to not use GitGitGit is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Git is easy to learn and has a tiny footprint with lightning fast performance. Most modern plugin and theme development is being done with this version control system. https://git-scm.com/.HTTPSHTTPSHTTPS is an acronym for Hyper Text Transfer Protocol Secure. HTTPS is the secure version of HTTP, the protocol over which data is sent between your browser and the website that you are connected to. The 'S' at the end of HTTPS stands for 'Secure'. It means all communications between your browser and the website are encrypted. This is especially helpful for protecting sensitive data like banking information. URLs. (46422)
Bug Fixes
Block Library
Fix Nav Submenu block Link UI text control. (46243)
Fix auto Nav menu creation due to page list inner blocks. (46223)
Handle innerContent too when removing innerBlocks. (46377)
Image Block: Ensure drag handle matches cursor position when resizing a center aligned image. (46497)
Navigation Block: Add social link singular to list of blocks to be allowed. (46374)
Page List Block: Fix error loading page list parent options. (46327)
Query LoopLoopThe Loop is PHP code used by WordPress to display posts. Using The Loop, WordPress processes each post to be displayed on the current page, and formats it according to how it matches specified criteria within The Loop tags. Any HTML or PHP code in the Loop will be processed on each post. https://codex.wordpress.org/The_Loop. Block: Add migrationMigrationMoving the code, database and media files for a website site from one server to another. Most typically done when changing hosting companies. of colors to v2 deprecation. (46522)
Site Logo: Correctly set the image’s natural height and width. (46214)
Strip markup from link label data in inspector. (46171)
Style Book: Clear Global Styles navigation history when selecting a block. (46391)
Global Styles REST APIREST APIThe REST API is an acronym for the RESTful Application Program Interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. It is how the front end of an application (think “phone app” or “website”) can communicate with the data store (think “database” or “file system”) https://developer.wordpress.org/rest-api/. endpoint: Check custom CSS is included before attempting to validate. (46561)
Reverts the custom CSS to an experiment while we resolve the handling of unfiltered HTMLHTMLHyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. capabilities. (46663)
Block Editor: Add initial view mode in BlockPatternSetup. (46399)
Site Editor
Do not remount iframeiframeiFrame is an acronym for an inline frame. An iFrame is used inside a webpage to load another HTML document and render it. This HTML document may also contain JavaScript and/or CSS which is loaded at the time when iframe tag is parsed by the user’s browser.. (46431)
Modal: Fix unexpected modal closing in IME Composition. (46453)
MaybeCategoryPanel: Avoid 403 requests for users with low permissions. (46349)
Rich text: Add button to clear unknown format. (44086)
Document Settings
Fix template title in summary panel and requests for low privileged users. (46304)
Permalink: Hide edit field for users without publishing capabilities. (46361)
Patterns
Content lock: Make filter hook namespace unique. (46344)
Layout
Child Layout controls: Fix help text for height. (46319)
Widgets Editor
Shortcuts: Add Ctrl+Y for redo to all editor instances on Windows. (43392)
Block APIAPIAn API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways.
Block Editor: Fix no-node-access violations in BlockPreview. (46409)
Block Editor: Fix no-node-access violations in BlockSelectionClearer. (46408)
Columns mobile edit: Remove unused updateBlockSettings action bind. (46455)
ESLint: Fix warning in getBlockAttribute documentation. (46500)
List View: Use default parameters instead of defaultProps. (46266)
Removed: Remove small APIs marked to be removed in WP 6.2. (46106)
Site Editor: Remove invalidinvalidA resolution on the bug tracker (and generally common in software development, sometimes also notabug) that indicates the ticket is not a bug, is a support request, or is generally invalid. CSS. (46288)
Block Library
Group Block: Remove placeholder leftovers. (46423)
Inserter: Update mobile tab navigation styles. (46186)
Layout
Clarify inline comment about switching to safecss_filter_attr. (46061)
Tools
Build Tooling
Adds GithubGitHubGitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. https://github.com/ Action to validate Gradle Wrapper. (46247)
Prevent api-fetch and core-data from being imported in the block editor package. (46302)
Serialize the map objects properly in the Redux dev tools. (46282)
end-to-end tests: Add width and color test to button block. (46452)
Performance Benchmark
The following benchmark compares performance for a particularly sizeable post (~36,000 words, ~1,000 blocks) over the last releases. Such a large post isn’t representative of the average editing experience but is adequate for spotting variations in performance.
Post Editor
Version
Loading Time
KeyPress Event (typing)
Gutenberg 14.8
7.8s
48.14ms
Gutenberg 14.7
6.25s
46.4ms
WordPress 6.1
5.9s
48.04ms
Site Editor
Version
Loading Time
KeyPress Event (typing)
Gutenberg 14.8
3.36s
31.7ms
Gutenberg 14.7
5.47s
34.78ms
WordPress 6.1
5.72s
36.1ms
Kudos to all the contributors that helped with the release! 👏
First time contributors
The following PRs were merged by first time contributors:
We started the chat by announcing that the state of the Word was on December 15.
We announced there is going to be a holiday break on coreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress. editor chats. The chats return on 4th January 2023.
@welcher was going to start the GutenbergGutenbergThe Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/14.8.0RCrelease candidateOne of the final stages in the version release cycle, this version signals the potential to be a final release to the public. Also see alpha (beta). right after the chat.
There is an open retrospective about the WordPress 6.1 release process. Feedback is welcome!
Key project updates.
Navigation blockBlockBlock is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience..
Work is going on to allow the user to choose between starting blank or using the current fallback when creating a new template. Soon when patterns can specify a template they fit into ( by merging https://github.com/WordPress/gutenberg/pull/45814), patterns will also appear as possible start points.
His main focus will be landing the navigation sidebarSidebarA sidebar in WordPress is referred to a widget-ready area used by WordPress themes to display information that is not a part of the main content. It is not always a vertical column on the side. It can be a horizontal rectangle below or above the content area, footer, header, or any where in the theme. on browse mode. Also wants to polish some PR’s in progress and wants to fix a serious regressionregressionA software bug that breaks or degrades something that previously worked. Regressions are often treated as critical bugs or blockers. Recent regressions may be given higher priorities. A "3.6 regression" would be a bug in 3.6 that worked as intended in 3.5. currently in the trunktrunkA directory in Subversion containing the latest development code in preparation for the next major release cycle. If you are running "trunk", then you are on the latest revision. where editing as blocks for content-locked blocks is not working.
“What’s new in GutenbergGutenbergThe Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/…” posts (labeled with the #gutenberg-newtagtagA directory in Subversion. WordPress uses tags to store a single snapshot of a version (3.6, 3.6.1, etc.), the common convention of tags in version control systems. (Not to be confused with post tags.)) are posted following every Gutenberg released on a biweekly basis, discovering new features included in each release. As a reminder, here’s an overview of different ways to keep up with Gutenberg and the Site Editor project (Formerly known as Full Site Editing).
Gutenberg 14.7 has been released and is available for download!
It introduces a new experimental tabbed sidebarSidebarA sidebar in WordPress is referred to a widget-ready area used by WordPress themes to display information that is not a part of the main content. It is not always a vertical column on the side. It can be a horizontal rectangle below or above the content area, footer, header, or any where in the theme., colors to help identify some blockBlockBlock is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. types in list view, and improvements to the Page List block to make it easier to manage page links in your content.
Improved organization of block settings with split control
An experimental view in the block inspector sidebar separates appearance and settings controls by adding a tabbed interface. This feature will make blocks with many controls, such as the Group Block and Navigation Block, easier to manage. You can enable this and other experimental features from Gutenberg > Experiments in the adminadmin(and super admin) sidebar. Leveraging this new tabbed interface, the Navigation Block also includes a Menu tab for the Navigation List View introduced in Gutenberg 14.6. (45483), (45991), (46027), (45005)
Quickly identify Template Parts and Reusable Blocks by color
To more easily differentiate Template Parts and Reusable Blocks from other types of blocks, these synced block types will now be outlined in a different color in the List View, Block Toolbar, and canvas. (45473)
Add media to your content directly from the inserter
A new media tab will be available, when media exists on the site, to allow users to add media from their library. A button to open the Media Library modal is also available, making it much more convenient to add images, video, and other media to your content. (44918)
See all pages in List View for the Page List block
The Page List block can now be expanded to see the hierarchy of pages in the List View. An option to select the root page to build the Page List from has also been added in the Block Inspector Sidebar. This will allow a subset of pages within the hierarchy to be displayed in the content. (45776), (45861)
Layout controls added to children of flex layout blocks
A new dimensions control (width for row, height for stack) will be available for children Row and Stack blocks. An option to select between fit, fill and fixed has been added. If the fixed option is selected, an `input` for a dimension will be shown, where the fixed size can be set. (45364)
Improved load times by caching the results of querying settings from theme.json
Adding WP_Object_Cache to gutenberg_get_global_settings to cache the results of querying settings from theme.json, resulted in a significant load time improvement.
This change reduced the total time of a request with the Twenty Twenty-Three theme from 521.59ms to 339.62ms, a ~35% performance increase. Testing with the Twenty Twenty showed an improved load time from 329.60ms to 290.93ms, a ~12% performance improvement. These times were measured by testing the time required to load the “hello world” post for a logged-out user. (45372)
Changelog
Enhancements
Style Engine
Style engine: Trim multiple selector strings. (45873)
Block Library
Heading Block: Add a wp-block-heading CSSCSSCascading Style Sheets. class. (42122)
Nav Block: Clarify explanation of how ‘Convert to Links’ works in Page List block. (45394)
Nav Block: Add label field to navigation link and navigation submenu. (45964)
Nav Block: Add link URLURLA specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org to the navigation submenu inspector controls. (45816)
Nav Block: Fix for navigation anchor links to close modal. (45829)
Template Part Block: Colorize template parts and Reusable blocks. (45473)
Site Logo: Apply width to logo container in editor. (45821)
Table Block: Support colspan attribute in table HTMLHTMLHyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers., including when pasting. (45981)
[Patterns]: Update pattern categoryCategoryThe 'category' taxonomy lets you group posts / content together that share a common bond. Categories are pre-defined and broad ranging. descriptions. (46005)
Nested / Inner Blocks
Mark applying block templates not persistent. (45843)
Add Layout controls to children of Flex layout blocks. (45364)
Bug Fixes
Preferences
Disable distraction-free preference effects on small viewports. (45591)
Block Library
List Block: Fixed a bugbugA bug is an error or unexpected result. Performance improvements, code optimization, and are considered enhancements, not defects. After feature freeze, only bugs are dealt with, with regressions (adverse changes from the previous version) being the highest priority. that List block attributes were reset in 6.1.1. (46000)
Gallery: Use unbound query when fetching image details. (46143)
Page List: If no parent page is set, still render all children. (45967)
Page List: Render the children correctly in the editor. (46165)
Post Author: Avoid errors when the user avatars are disabled. (45989)
Nav Block: Navigation menuNavigation MenuA theme feature introduced with Version 3.0. WordPress includes an easy to use mechanism for giving various control options to get users to click from one place to another on a site. doesn’t appear when hamburger clicked on. (45773)
Ensure post-featured-image block is intheloopLoopThe Loop is PHP code used by WordPress to display posts. Using The Loop, WordPress processes each post to be displayed on the current page, and formats it according to how it matches specified criteria within The Loop tags. Any HTML or PHP code in the Loop will be processed on each post. https://codex.wordpress.org/The_Loop.() for BC with coreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress. and plugins, and to fix lazy-loading. (45534)
AccessibilityAccessibilityAccessibility (commonly shortened to a11y) refers to the design of products, devices, services, or environments for people with disabilities. The concept of accessible design ensures both “direct access” (i.e. unassisted) and “indirect access” meaning compatibility with a person’s assistive technology (for example, computer screen readers). (https://en.wikipedia.org/wiki/Accessibility)
Add “Testing Instructions for Keyboard” to PR template to encourage accessibility testing. (45957)
Navigation List view: Include offcanvas specific styles. (45963)
Navigation List view: Scroll horizontally when table overflows. (45966)
Documentation
(docs) Document the special case of shipping point releases when new release branchbranchA directory in Subversion. WordPress uses branches to store the latest development code for each major release (3.9, 4.0, etc.). Branches are then updated with code for any minor releases of that branch. Sometimes, a major version of WordPress and its minor versions are collectively referred to as a "branch", such as "the 4.0 branch". already exists. (46083)
Added InspectorControls import to example. (45872)
Navigation: Adds a warning about duplicate code for the future. (45844)
Storybook: Add link to component folder on GitHubGitHubGitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. https://github.com/, retire Storysource. (45727)
Style Engine: Add first draft of contributing doc. (45930)
Fix invalidinvalidA resolution on the bug tracker (and generally common in software development, sometimes also notabug) that indicates the ticket is not a bug, is a support request, or is generally invalid. attribute markup in core/home-link block. (46089)
Link UI: Destructure the props earlier in the component. (46209)
Navigation Link UI: Try to align both files. (46205)
Navigation Menu Selector: Share the functions needed for the NavigationMenuSelector. (46053)
Post Featured ImageFeatured imageA featured image is the main image used on your blog archive page and is pulled when the post or page is shared on social media. The image can be used to display in widget areas on your site or in a summary list of posts.: Only get the post title when rendering alt text. (45835)
Reduce prop drilling in Block Card component. (46052)
Refactor link creation UI to standalone component/file. (46031)
Remove Nav block specific classes from Nav offcanvas Link UI. (46182)
Update offcanvas back button to select parent Nav block and limited to Nav block only. (46037)
Don’t check if constants set by wp_initial_constants() are defined. (45979)
Block Editor
LinkControl unit tests: Use user.type to type into search field. (45802)
Simplify api for link UI abstraction to use a single prop for the value. (46189)
URLInput: Keep the search results label in sync with the results list. (45806)
Use wordpress/escape-html escapeHTML in Link UI in preference to Lodash method. (46184)
Global Styles
Cleaner logic in wpthemehasthemejsonJSONJSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML.. (45950)
Update BlockCard to pass className instead of isSynced prop. (46021)
Full Site Editing
Block editor: Separate content styles for the iframeiframeiFrame is an acronym for an inline frame. An iFrame is used inside a webpage to load another HTML document and render it. This HTML document may also contain JavaScript and/or CSS which is loaded at the time when iframe tag is parsed by the user’s browser.. (44298)
Element: Fix no-node-access in createInterpolateElement. (45894)
Block Editor: Fix ESLint warnings in MediaUpload tests. (46035)
Block Editor: Fix no-node-access in RecursionProvider tests. (45902)
Block Editor: Fix block alignment tests for ReactReactReact is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. https://reactjs.org/. 18. (45937)
Block Editor: Wait for popover positioning in MediaReplaceFlow tests. (45863)
Compose: Fix ‘no-container’ violations in ‘useDisabled’ tests. (45797)
Compose: Fix ESLint violations in withGlobalEvents tests. (46012)
Performance Benchmark
The following benchmark compares performance for a particularly sizeable post (~36,000 words, ~1,000 blocks) over the last releases. Such a large post isn’t representative of the average editing experience but is adequate for spotting variations in performance.
Post Editor
Version
Loading Time
KeyPress Event (typing)
Gutenberg 14.7
11.45s
59.36ms
Gutenberg 14.6
11.41s
62.36ms
WordPress 6.1
10.72s
68.08ms
Site Editor
Version
Loading Time
KeyPress Event (typing)
Gutenberg 14.7
9.68s
58.42ms
Gutenberg 14.6
10.8s
67.09ms
WordPress 6.1
11.69s
64.87ms
Kudos to all the contributors that helped with the release! 👏
First time contributors
The following PRs were merged by first time contributors:
This dev notedev noteEach important change in WordPress Core is documented in a developers note, (usually called dev note). Good dev notes generally include a description of the change, the decision that led to this change, and a description of how developers are supposed to work with that change. Dev notes are published on Make/Core blog during the beta phase of WordPress release cycle. Publishing dev notes is particularly important when plugin/theme authors and WordPress developers need to be aware of those changes.In general, all dev notes are compiled into a Field Guide at the beginning of the release candidate phase. is a follow up to a previous dev note: Content only editing and other locking updates.
The GutenbergGutenbergThe Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ PR, #43037, which introduced the feature, added a filterFilterFilters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output. hook with the same namespace ('core/style/with-block-controls') as an existing filter hook that implements block support style controls.
The risk of having two hooksHooksIn WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same. with the same namespace is that any attempt to remove the filter will, possibly unintentionally, affect them both.
The BlockBlockBlock is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. Editor documentation states the following:
One notable difference between the JSJSJavaScript, a web scripting language typically executed in the browser. Often used for advanced user interfaces and behaviors. and PHPPHPThe web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher hooks APIAPIAn API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways. is that in the JS version, addAction() and addFilter() also need to include a namespace as the second argument. Namespace uniquely identifies a callback in the form vendor/pluginPluginA plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party/function.
A subsequent Gutenberg PR #46344 has renamed the filter hook namespace for the content lock filter hook to 'core/content-lock-ui/with-block-controls'. This now makes the namespace unique within the context of the Block Editor.
You must be logged in to post a comment.