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 the 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-new tag) 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 Editor.
A total of 217 PRs were merged in Gutenberg 18.8, with 10 first-time contributors! With WordPress 6.6 releasing this week, many contributors are focusing on 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. fixes. There are still some great features and enhancements in this release, highlighted below.
Group 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. shadow support
A popular feature requestfeature requestA feature request should generally begin the process in the ideas forum, on a mailing list, as a plugin, or brought to the attention of the core team, such as through scope meetings held for each major release. Unsolicited tickets of this variety are typically, therefore, discouraged., shadows can now be added to the Group block. (63295)
Background image support for blocks in global styles
The background image block support has been updated to allow images to be set in global styles (60100). This means that a background image can be set for all quote or pull quote blocks within a site or theme. Additionally, the controls for background images have been updated to use a popover (60151) so that they’re tucked away when not making changes.
Other notable highlights
Toolbar justification controls for Group and Content blocks
The justification controls for the Group and Content blocks are now exposed in the block toolbar. This makes it easier to quickly update these blocks to be left or right-aligned, using a similar interface to text and button blocks. (62924)
Color support for individual list item blocks
Individual list items within a list block can now have different color styles to the overall list they belong to. (59892)
Block inserter no longer behaves like a dialog box
When opening the block inserter, it will now stay open when interacting with the editor canvas. This makes it easier to move around the document while adding blocks. (63059)
Changelog
View full list of changes
Features
DataForm: Implement first prototype using duplicate page action. (63032)
TimePicker: Add dateOrder prop to sort day, month, and year. (62481)
ToolbarButton: Deprecate isDisabled prop and merge with disabled. (63101)
Tooltip Component: Add custom class name support. (63157)
Data Views
Add padding around selected values in author 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.. (63212)
DataViews filterSortAndPaginate utility: Support sorting by number. (63187)
DataViews: Make view.hiddenFields optional. (62876)
Pages: Include avatarAvatarAn avatar is an image or illustration that specifically refers to a character that represents an online user. It’s usually a square box that appears next to the user’s name. in Author field. (63142)
Patterns Page: Hide preview column by default. (63213)
Add example for query block and posts list. (63286)
ExcerptExcerptAn excerpt is the description of the blog post or page that will by default show on the blog archive page, in search results (SERPs), and on social media. With an SEO plugin, the excerpt may also be in that plugin’s metabox. block: Add example of the block. (63010)
Font Library Modal: Enhance pagination appearance. (63210)
Font Library: Store font subdirectory in post metaMetaMeta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress.. (63000)
Move font directory into uploads to match WP 6.5. (60354)
Layout
Add justification to block toolbar in addition to 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.. (62924)
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.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.: Allow passing filename as variations field. (62092)
UnitControl: Fix an issue where keyboard shortcuts unintentionally shift focus on Windows OS. (62988)
Block Library
Add Aspect ratio control on Image blocks in Grids. (62891)
Audio Block: Do not persist blob urls and fix undo. (63257)
File block: Do not persist blob urls and fix undo. (63282)
Fix Incorrect URLURLA specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org basename logic in EmbedPreview. (63052)
Fix: Update “Link Text” label to “Text” on Social Icons block #60966. (61715)
List: Maintain nested list on parent item removal. (62949)
Navigation: Allow themes to override block library text-decoration rule. (63406)
Patterns: Check for edited entity content property when exporting. (63227)
Reduce specificity of social link icon specific colors. (63049)
Refactor Post Date Relative Time Rendering for Future Dates. (62979)
Site Editor: Fix template parts ‘Reset’ action. (62951)
Video Block: Do not persist blob urls and fix undo. (63238)
Post Editor
Editor: Do not truncate post excerpt if not editable. (63314)
Fix: Background height and padding in non-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. editor canvas. (63222)
Fix: Crash when onActionPerformed is used with callback actions. (63120)
Fix: Permanently delete post action does not calls onActionPerformed. (63121)
Fix: Triple scrollbars in device previews. (62940)
Post editor: Increase specificity of bottom padding. (63288)
Actions: TranslationtranslationThe process (or result) of changing text, words, and display formatting to support another language. Also see localization, internationalization. should depend on number of items. (62857)
Data Views
DataViews list layout: Fix action alignment. (62971)
DataViews: Restore preview focus outline in grid layout. (62991)
Fix buttonless table 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. alignment. (62877)
Resizing in Auto mode shouldn’t add columnStart and rowStart values. (63160)
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. css for nested fullwidth layouts with zero padding applied. (63436)
Global Styles
Elements: Avoid specificity bump for top-level element-only selectors. (63403)
Global styles revisionsRevisionsThe WordPress revisions system stores a record of each saved draft or published update. The revision system allows you to see what changes were made in each revision by dragging a slider (or using the Next/Previous buttons). The display indicates what has changed in each revision.: Ensure that user-defined variation styles CSSCSSCascading Style Sheets. is generated. (62768)
Root padding styles: Include alignwide in nested has-outer-padding logic. (63207)
Remove letter-spacing from typography element preview. (60322)
Only add 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. additional CSS to global styles in block themes. (63331)
Site Editor
Make SiteHub available for Pages, Patterns, and Templates in mobile viewports. (63118)
Patterns and templates cannot be edited from sidebar mobile view. (63002)
Site Editor Sidebar: Hide horizontal scrollbar when navigating. (63194)
Synced Patterns
Ensure disable overrides button is active for image blocks with captions or links. (62948)
Fix second scrollbar when editing patterns in the post editor. (62909)
Pattern overrides: Fix aspect ratio not working in image with overrides. (62828)
Block Editor
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. Panel: Align text and icons horizontally to avoid clipping. (62842)
Zoom Out: Move the hook to the inserter component. (63315)
Fix error when calling the PostActions view-post callback. (63460)
Block bindings
Disable post meta editing in blocks inside a 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.. (63237)
Image block: Ensure extenders that rely on media ids in block htmlHTMLHyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. are supported by block bindings. (63013)
Patterns
Fix: Restrict export pattern action to user patterns. (63228)
Posts/Tags/Categories Screen
Constrain is-fullscreen-modeadminadmin(and super admin) body class to posts list. (63166)
Inspector Controls
Fix button wrapping in the document Inspector. (63062)
Design Tools
Duotone: Fix code typo, to ensure Duotone updates correctly in Safari. (62953)
Commands
Fix issue of HTML entities rendering in command menu. (62606)
Typography
Use available font weights and styles in FontAppearanceControl. (61915)
Font Appearance Control: Refactor font appearance fallbacks. (63215)
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)
Allow Escape key to move focus to editor region when in select mode. (62196)
Focus Editor Region from Template Footer Click. (62595)
Components
Button: Stabilize __experimentalIsFocusable prop. (62282)
Perf tests: Make pages test compatible with base 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".. (63204)
Block 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.
Optimize selectors in the control component. (63141)
Experiments
Layout
Allow inserting blocks directly in empty grid cells. (63108)
Use manualPlacement attribute to set manual grid mode and allow responsive behaviour in both modes. (62777)
Documentation
Add note about postcss-urlrebase package patchpatchA special text file that describes changes to code, by identifying the files and lines which are added, removed, and altered. It may also be referred to as a diff. A patch can be applied to a codebase for testing.. (63015)
Add RichText formatting example to the Editor curation documentation. (63065)
Block supports: Add documentation for ‘splitting’. (63016)
Fix typo to be preposition, not verb, in some package comments and documentations. (62945)
Storybook: Fix links for block editor examples. (63132)
ToolbarButton: Fix documentation for accessibleWhenDisabled. (63140)
Update ReactReactReact is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. https://reactjs.org/. dev docs rule hook URL. (62995)
Code Quality
Add linguist-documentation attribute to docs/ directory. (62651)
Conditionally call focus with getEditorRegion. (62980)
Core Data: Remove entity configuration ‘__experimentalNoFetch’ flag checks. (63303)
Add comment about useSelect usage in withBlockBindingSupport. (63005)
HTML API
Compat: Update HTML API with changes from 6.6. (63089)
Tools
Dependency extraction: Map to regenerator-runtime instead of wp-polyfill. (63091)
Env: Remove version field from docker-compose configuration. (63099)
Eslint-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: Add method-signature-style TypeScript lint rule. (62718)
Scripts: Ensure that typescript-eslint checks for unused vars. (62925)
Update new release issue template to remove core editor chat item. (62864)
Testing
Automatically sync 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. changelog to issue. (62973)
Block styles variations E2E: Wait for Save button before editing global styles. (62915)
Cherry pick workflow: Improve message after conflictconflictA conflict occurs when a patch changes code that was modified after the patch was created. These patches are considered stale, and will require a refresh of the changes before it can be applied, or the conflicts will need to be resolved.. (62826)
DataViews: Add performance test for pages. (63170)
“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-new tag) 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 Editor.
A total of 115 PRs were merged in Gutenberg 18.7, with 7 first-time contributors! With WordPress 6.6 rapidly approaching, many contributors are focusing on 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. fixes. However, this release still includes some great features and enhancements, including the manual mode for the grid interactivity experiment!
In order to allow more precise manipulation of the grid, all grid items are now fixed in place when using manual mode. Grid items can then be moved around with drag and drop, with 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. movers (in any direction), or by changing the values of column and row in the Dimensions 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.. This new feature is a part of Grid interactivity and is available behind an experimental flag. (#61025)
Content panel for template parts
Template parts now show the content panel in the editor settings. (#62034)
Other Notable Highlights
Text orientation controls have been added to more blocks (site-title, site-tagline, verse, and button block.) (#62727)
The sticky toggle for posts can be found in its new home, the “Status and visibility” popover. (#62782)
The document bar is now displayed when viewing the Style book and Style revisionsRevisionsThe WordPress revisions system stores a record of each saved draft or published update. The revision system allows you to see what changes were made in each revision by dragging a slider (or using the Next/Previous buttons). The display indicates what has changed in each revision. (#62669)
Rename yieldToMain to splitTask and export from wordpress/interactivity. (62665)
Update: Check assignable properties on the duplicate action. (62590)
Update: Followups to the template and template_lock 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/. addition. (62696)
Update: Reverse 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 on post type REST API changes. (62751)
Display the DocumentBar for Style Book and Style Revisions. (62669)
fetchLinkSuggestions: Allow for partial matching. (62570)
DataViews: Support passing the registry to actions callbacks. (62505)
Add tooltip on hover of color and typography presets. (62201)
Revert change that removes the social link block when pressing backspace in the URLURLA specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org Popover. (61344)
Bug Fixes
Add context in post actions 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.. (62443)
Add html to reset styles for the .editor-styles-wrapper container. (62350)
Cherry pick script: Make authenticated requests. (62473)
Editor: Fix blocked Post Publish Panel buttons on mobile. (62736)
Fix rawHandling, pasteHandling for mixed content with blocks and classic. (62545)
Fix: Active template is not highlighted properly in list view. (62811)
Fix: Check Capability to create pages on DataViews add new page button. (62592)
Fix: Check ability to create patterns on the add new pattern modal. (62633)
Fix: Check create capability on duplicate post action. (62620)
Fix: Check permissions on duplicate pattern and template part actions. (62757)
Fix: Comments and Pingbacks get cleared out when a pattern is edited. (62507)
Fix: DataViews: Active page is not highlighted properly in list view. (62378)
Fix: Include permission management on permanently delete, rename, and restore. (62754)
Fix: List view renders an empty menu when no actions are eligible. (62786)
Fix: Post_type template is not used when creating a page in site editor. (62488)
Fix: Resetting template part causes notification saying it’s been delete. (62521)
Fix: The trashTrashTrash in WordPress is like the Recycle Bin on your PC or Trash in your Macintosh computer. Users with the proper permission level (administrators and editors) have the ability to delete a post, page, and/or comments. When you delete the item, it is moved to the trash folder where it will remain for 30 days. post action doesn’t take into account user capabilities. (62589)
Inspector: Improve handling of long words in post titles. (62691)
Revert “Revert test data for WithSlug variation (#62579)”. (62587)
Add letter spacing inheritance for the navigation block. (62745)
Caption utility component: Allow the main CSSCSSCascading Style Sheets. Class Name to be excluded from the markup. (62485)
Fix: Empty style attribute issue in navigation block. (62600)
Image Block: Fix Aspect Ratio button position. (62776)
Media & text: Update the image replacement logic. (62030)
Post Date Block: Fix PHPPHPThe web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher warning error. (62783)
Template Part: Improve how the tagtagA 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.) name attribute is handled. (62785)
fix: Update block categoryCategoryThe 'category' taxonomy lets you group posts / content together that share a common bond. Categories are pre-defined and broad ranging. to design and build documentation. (61905)
Global Styles
Allow children of alignfull flow layouts to have root padding. (62670)
Section Styles: Switch away from using init for variation registration. (62640)
Skip registration of variation styles when unsupported. (62529)
Styles: Lower specificity of figcaption style to allow 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. override. (62689)
Components
CustomSelectControl V2: Fix setting initial value and reacting to external controlled updates. (62733)
CustomSelectControlV2: Handle long strings in selected value. (62198)
Block Editor
Raw handling: Fix too aggressive indented list removal. (62622)
Writing flow: Split heading into default block. (61891)
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)
Fix: Remove inexistent link from the documentation. (62624)
Interactivity API docs: Add wp-async directives doc. (62663)
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: Clarify explanation around query loop variation example. (62605)
Small Typo correction in block-library.md file. (62765)
Update link to API section in block-editor README.md. (62671)
Update old links in wordpress/babel-preset-default. (62616)
Updates the reference links in wordpress/compose documentation. (62593)
Autoformat e2e-tests package JavaScriptJavaScriptJavaScript or JS is an object-oriented computer programming language commonly used to create interactive effects within web browsers. WordPress makes extensive use of JS for a better user experience. While PHP is executed on the server, JS executes within a user’s browser. https://www.javascript.com/.. (62572)
Edit site: Do not autoformat edit-site/lib. (62573)
Remove changelog checks for branches other than 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.. (62645)
Skip test: Create a new page, edit template and toggle page template preview. (62799)
Tests: Simplify test set up in WP_Block_Supports_Block_Style_Variations_Test. (62637)
Theme JSON resolver: Read theme.json files from the styles/ folder only once. (62638)
Build Tooling
Generic name for previous version of WP tests. (62853)
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/ PHP changes workflow: Remove it. (62609)
Various
Update Private API opt-in string for WP 6.6. (62635)
Update caniuse-lite dependency to latest version. (62611)
First-time contributors
The following PRs were merged by first-time contributors:
@aatanasovdev: Caption utility component: Allow the main CSS Class Name to be excluded from the markup. (62485)
@dilipbheda: Correct documentation for WP_Block_Parser_Frame class. (62598)
@graylaurenm: Add letter spacing inheritance for the navigation block. (62745)
@ivan-ottinger: Editor: Fix blocked Post Publish Panel buttons on mobile. (62736)
“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-new tag) 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 Editor.
51 contributors have shipped 157 pull requests in this release, and a big welcome to four new contributors. With WordPress 6.6 rapidly approaching, many contributors are focusing on 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. fixes, with this release including a total of 62 fixes. There are still some great features being worked on, and this release introduces the new background image feature to several blocks.
Background image support for Quote, Verse and Post Content blocks
Freshen up the look of the quote, verse, and post content blocks using the new background image feature.
Previously, options for background images were limited to container blocks like the Cover and Group blocks, but with the feature now supported across several blocks, it’s easier for users to attain the look they want without nesting blocks.
Very early work on extensibility for DataViews was shipped in this release.
‘DataViews’ is the component that powers the post listing views available in the Site Editor, and in the future will become an important part of the new adminadmin(and super admin) design project.
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. being explored will allow the registration of actions for different ‘entities’ (post types and other types of data represented by the listings). Right now, the API is private to the Gutenberg 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 and will undergo further development and testing before being made public for third parties.
Post content 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.: Add background image and padding support. (62499)
Quote blocks: Add background image and minimum height support. (62497)
Verse block: Add background image and minimum height support. (62498)
Block Library
Post Date & Comment Date: Add relative date format. (62298)
Replace “Add new post” link text with more meaningful Label (v2). (62277)
Block Editor
LinkControl: Refined the display of the link preview title and URLURLA specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org when both are same. (61819)
Unify DataViews 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. Title & Subtitle. (62429)
Template inspector: Small visual adjustments. (62537)
Document Settings
FlatTermSelector: Update the term suggestion limit. (62359)
Global Styles
Update custom CSSCSSCascading Style Sheets. handling to be consistent with block global styles. (62357)
Post Editor
Try: Re-enable ReactReactReact is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. https://reactjs.org/. StrictMode. (61943)
CoreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress. Data: Fix errors when the entities list doesn’t contain configuration key. (62346)
Data Views: Bulk toolbar covering other clickable elements. (62333)
Fix: Omit default parameters from pages, template parts, and patterns. (62372)
Fix: Show homepage link on frontpage instead of the slug. (62279)
Fix: Unquoted file argument in declaration check script. (62482)
Update instances of text-wrap: Pretty to fall back to balance. (62233)
MediaUpload: Remove dialog markup on close. (62168)
Global Styles
Add default-spacing-sizes and default-font-sizes options for classic themes. (62252)
Add custom CSS for block style variations. (62526)
Color Variations: Use Grid rather than VStack. (62445)
Don’t apply the background and text colors to typography previews. (62578)
Fix UIUIUser interface appearing on blocks that don’t support text alignment. (62376)
Fix UI order for 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. spacing sizes. (62199)
Fix registration of theme style variation defined block styles. (62495)
Only use single property variations as color/type presets. (62469)
Section Styles: Register block style variations on init. (62461)
Section styles: Support i18ni18nInternationalization, or the act of writing and preparing code to be fully translatable into other languages. Also see localization. Often written with a lowercase i so it is not confused with a lowercase L or the numeral 1. Often an acquired skill. for variations declared in theme.json or theme style variations. (62552)
Sort spacing sizes when all slugs begin numerically. (62567)
Update 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. title + icon + site title alignment. (62191)
Block Editor
Inserter: Allow focus to move to the toggle when opening the inserter. (62513)
Inserter: Return the same items when the state and parameters don’t change. (62263)
Remove ‘rootClientId’ argument for block lock selectors. (62547)
Update fetchLinkSuggestions to sort results by relevancy. (62397)
Block Library
Fixed Media Text Block Issue : When crop image to fill is enabled, the image in nested media & text blocks does not show. (62182)
Media & Text block: Fix nested Media & Text block media position issue with increased CSS specificity. (62184)
Query: Adjust the position of sticky search field in Patterns modal. (62370)
Editor: Make revisionsRevisionsThe WordPress revisions system stores a record of each saved draft or published update. The revision system allows you to see what changes were made in each revision by dragging a slider (or using the Next/Previous buttons). The display indicates what has changed in each revision. more prominent. (62323)
Editor: Refine availability of rename post action. (62248)
Fix move CONTENT_ONLY_BLOCKS into component body to ensure the editor.postContentBlockTypesfilterFilterFilters 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. gets called whenever the values are used. (62292)
Components
Ensure that openref is defined before accessing to .current. (62508)
Fix: Update styles for checkbox and radio controls. (61696)
Tabs: Prevent accidental overflow in indicator. (61979)
List View
Fix home and end key behaviour in very long lists. (62312)
Show context menu for content-only blocks in posts. (62354)
Block bindings
Fix applying bindings or pattern overrides to button blocks with empty text. (62220)
Fix site editor breaking when user selects bound and non-bound blocks at the same time. (62268)
Revert changes to bindings replacement logic to not use regex. (62355)
Synced Patterns
Block Bindings / Pattern Overrides: Prevent normal attribute updates when a __default binding exists. (62471)
Fix showing double icons for connected blocks in pattern editor. (62317)
Data Views
DataViews: Fix unnecessary horizontal scrollbar in list layout. (62448)
Page creation and duplication: Decode HTMLHTMLHyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. entities in success notices. (62313)
Patterns
Fix increasingly big canvas in the post editor when editing patterns. (62360)
Data: Add error handle to the ‘registry.batch’ method. (62322)
Block Variations
Compare objects based on given properties. (62272)
Block Styles
Remove core block style variations filters and action. (62090)
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 lint rule for inaccessible disabled Button. (62080)
Posts Dashboard: Add a new experimental empty page. (62406)
Documentation
Add @globalPHPPHPThe web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher documentation. (60539)
Add documentation for PostSticky and PostStickyCheck component. (62100)
Add documentation for WordCount component. (62217)
Added documentation for PostTrash & PostTrashCheckTimeToReadTextEditorGlobalKeyboardShortcutsPostPublishButtonLabel Component. (62116)
Better changelogs for the JSX transform upgrade. (62265)
Corrected @SInCE Order in Php documentation. (61992)
Docs: Explicitly mention new behavior coming in WP 6.6 for block variations. (62399)
Fix @sincetagtagA 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.) in docblockdocblock(phpdoc, xref, inline docs) in WP_Theme_JSON_Data_Gutenberg. (62425)
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. link on explanations documentation. (62487)
Fixing minor syntax in DataView example code. (62560)
Interactivity API template create block: Removed warning for generated README from template. (62324)
Update Node version for flaky test reporter. (62401)
end-to-end Utils: Add retry mechanism to the 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/. discovery. (62331)
Build Tooling
Build JSJSJavaScript, a web scripting language typically executed in the browser. Often used for advanced user interfaces and behaviors. module only in development mode. (62398)
Speed up check-build-type-declaration-files. (62538)
Props to @jameskoster for the visual assets, @priethor for handling the release candidaterelease 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). at short notice, @andrewserong, @isabel_brison, @annezazu, and @matveb for help with drafting and proof reading this post.
“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-new tag) 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 Editor.
Gutenberg 18.5 introduces several exciting features, enhancements, and some 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. fixes. Some of the highlights of this release include better tools for section styling, providing more customization options for your sections, a new Custom Shadows feature which improves the control over our shadows, and also the ability to edit a 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.’s custom fields directly in the block itself, thanks to the latest additions to the Block Bindings 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..
Additionally, this release supports copying custom CSSCSSCascading Style Sheets. between variations, relative theme path URLs for background images in 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., and improved consistency in root padding across blocks.
Section styling with extended block style variations
From the 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. draft:
Section-based styling has been enabled by extending the existing Block Styles feature (aka block style variations) to support styling inner elements and blocks. These enhanced block style variations can even be applied in a nested fashion due to uniform CSS specificity (0-1-0) for Global Styles, which will be introduced in WordPress 6.6.
In addition block style variations can now be:
Registered across multiple block types at the same time
Defined via multiple methods; theme.json partials, within theme style variations, or by passing a theme.json shaped object in the style’s data given to existing block style registration functions
The new Custom Shadows feature allows for the creation and editing of shadows within Global Styles. Users can now add depth and visual interest to their site elements with more nuanced shadow effects.
Block Bindings: allow editing post metaMetaMeta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress. directly in blocks
Using the latest changes to the Block Binding API, this change means that we can now edit the value of custom fields directly through the blocks when they are connected to those fields. For example, when a paragraph block’s content is bound to a custom fieldCustom FieldCustom Field, also referred to as post meta, is a feature in WordPress. It allows users to add additional information when writing a post, eg contributors’ names, auth. WordPress stores this information as metadata. Users can display this meta data by using template tags in their WordPress themes., the user can edit the custom field value by editing the block content.
Other Notable Highlights
Copy custom CSS between variations when switching (61752)
Support Relative Theme Path URLs for Background Images in theme.json (61271)
Improve Consistency in Root Padding Across Blocks (60715)
Block settings: Update variant of “Apply globally” Button component to secondary. (61850)
Editor: Align the Post Format control design with the rest of the post 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. controls. (62066)
Editor: Polish the style of some of the post summary rows. (61645)
Format Library: Refactor ‘Inline Image’ edit component. (62135)
Playwright end-to-end Utils: Add fullscreenMode option to createNewPost. (61766)
Post Summary: Move PostTemplatePanel below URLURLA specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org and Author. (62137)
Remove trashTrashTrash in WordPress is like the Recycle Bin on your PC or Trash in your Macintosh computer. Users with the proper permission level (administrators and editors) have the ability to delete a post, page, and/or comments. When you delete the item, it is moved to the trash folder where it will remain for 30 days. button in post/page inspector. (61792)
Shadows instead of borders on interface skeleton. (61835)
Inspector: Display home / posts page badge. (62071)
Inspector: Remove revisionsRevisionsThe WordPress revisions system stores a record of each saved draft or published update. The revision system allows you to see what changes were made in each revision by dragging a slider (or using the Next/Previous buttons). The display indicates what has changed in each revision. panel. (61867)
Make post meta row button treatment consistent. (61954)
Remove ‘Manage…’ prefix in Pages / Templates data views. (62107)
DataViews: label prop in Actions API can be either a string or a function. (61942)
Fix pagination position on pages with short lists. (61712)
Pages data view: Add Pending and Private views. (62138)
Pages sidebar: Adds published & scheduled items. (62021)
Stop Patterns data view 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. shrinking. (61801)
Add block-level Text Alignment UIUIUser interface. (61717)
Add option to remove site-wide theme background image. (61998)
Background image: Add support for relative theme path URLs in top-level theme.json styles. (61271)
Background image: Update controls defaults and layout. (62000)
Background images: Add defaults for background size. (62046)
Don’t 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. out typography variations where the heading and body fonts are the same. (61327)
Make color variations fit in a bit better visually. (61617)
Make it clearer how to edit a site’s palette. (61364)
Document Bar: Decode HTMLHTMLHyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. entities and take into account cases where there is no title. (62087)
Editor: Don’t apply purple accent to the unsynced pattern title. (61704)
Editor: Ensure Copy button in sidebar copies whole permalink, with URL protocol. (61876)
Editor: Fix the ‘DocumentBar’ position for long titles. (61691)
Editor: Render publish date control when the status is future(scheduled). (62070)
Editor: Unify button size in pre-publish panel. (62123)
Editor: Use edited entity for post actions. (61892)
InspectorControls: Text not displayed when “Show button text labels” is enabled. (61949)
Link Control: Fix focus handlers in development mode. (62141)
Media & Text block: Remove the link option when the 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. is used. (60510)
Classic block: Fix content syncing effect for ReactReactReact is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. https://reactjs.org/. StrictMode. (62051)
Don’t steal focus when opening browse all blocks. (61975)
Fix: The latest post block – post titles overlapping. (61356)
Fixed : Update alt text decision tree links to be translatable. (62076)
Fixed: Custom HTML Block should display content in LTR layout for all languages. (62083)
More block: Fix React warning when adding custom text. (61936)
useUploadMediaFromBlobURL: Prevent duplicate uploads in StrictMode. (62059)
Global Styles
Fix make dimensions.aspectRatios key of theme.json files translatable. (61774)
Hide the presets panel for when there are less or exactly one presets available. (62074)
Prevent Typography panel title from wrapping. (62124)
Shadow Panel: Generates unique shadow slugs by finding max suffix and incrementing it. (61997)
Styles: try wrapping with :Root to fix reset styles. (61638)
Transform Styles: Update selector so that styles work when custom fields panel is active. (62121)
Site Editor
Align the template title to the center in the ‘Add template’ screen. (62175)
Close publish sidebar if not in edit mode. (61707)
Fix the site editor Adminadmin(and super admin) Bar menu item. (61851)
InputControl: Fix z-index issue causing slider dots to appear in front of the Appearance dropdown. (61937)
getAutocompleterUI: Don’t redefine ListBox component on every render. (61877)
Synced Patterns
Block Bindings: Filter pattern overrides source in bindings panel. (62015)
Fix detaching patterns when a pattern has overrides, but there are no override values. (62014)
Block bindings
Don’t show non-existing and not supported attributes in block bindings panel. (62183)
Layout
Remove extra bracket in the site editor root padding styles. (62159)
Block Styles
Fix block style variation styles for blocks with complex selectors. (62125)
Code Editor
Editor: Unify text/code editor between post and site editors. (61934)
Page Content Focus
Remove lock icons from Content blocks inner blocks when editing a page in the site editor. (61922)
Patterns
Templates: Only resolve patterns for 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/. endpoints. (61757)
Interactivity API
Turn named capturing groups back into numbered ones inside toVdom. (61728)
Block API
Fix: Enable Text Align UI to be controlled correctly with theme.json. (61182)
REST API
Return an empty object when no fallback templates are found (wp/v2/templates/lookup). (60925)
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)
Global Styles
Shadow Panel: Improve a11yAccessibilityAccessibility (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) and fix browser console error. (61980)
Fix: Adds help props for description of Play Inline toggle. (61310)
Performance
Perf: Batch block list settings in single action. (61329)
Remove additional call to WP_Theme_JSON_Gutenberg::__construct. (61262)
Interactivity API
Introduce wp-on-async directive as performant alternative over synchronous wp-on directive. (61885)
Post Editor
DocumentBar: Only selected data needed for rendering. (61706)
Experiments
Interactivity API
Use output buffer and HTML tagtagA 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.) processor to inject directives on BODY tag for full-page client-side navigation. (61212)
Documentation
Add JSDoc to PostVisibility, PostVisibilityCheck, and PostVisibilityLabel. (61735)
Add a section about block filters to the Filters and 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. doc. (61771)
Add an example and improve readability of the Block Filters doc. (61770)
Add docblockdocblock(phpdoc, xref, inline docs) to PostTitle and PostTitleRaw component. (61740)
Changelog: Add note about removing legacy operators. (62013)
Docs: Fix spacing in PHPPHPThe web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher doc block in comments block. (61911)
Update 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-document-setting-panel.md. (61782)
Rename 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.-changelog/6279.md to backport-changelog/6.6/6279.md. (61894)
Added unit testunit testCode written to test a small piece of code or functionality within a larger application. Everything from themes to WordPress core have a series of unit tests. Also see regression. for post excerptExcerptAn excerpt is the description of the blog post or page that will by default show on the blog archive page, in search results (SERPs), and on social media. With an SEO plugin, the excerpt may also be in that plugin’s metabox. block render function. (43451)
Avoid using component naming conventions for non-component code. (61793)
Update to use the EditorInterface component from the editor package. (62146)
Block hooks
Navigation block: Check for insert_hooked_blocks_into_rest_response i…. (62134)
Navigation block: Check for update_ignored_hooked_blocks_postmeta in coreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress.. (61903)
Enable parallel processing for PHPCSPHP Code SnifferPHP Code Sniffer, a popular tool for analyzing code quality. The WordPress Coding Standards rely on PHPCS.sniffssniffA module for PHP Code Sniffer that analyzes code for a specific problem. Multiple stiffs are combined to create a PHPCS standard. The term is named because it detects code smells, similar to how a dog would "sniff" out food.. (61700)
Fix an issue causing wp-scripts commands to fail if the file path contained a space character. (61748)
“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-new tag) 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 Editor.
This release includes 178 pull requests by 58 contributors. Look for improvements to the Grid 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., a new handy keyboard shortcut, and useful features for extenders. Additionally, as always, a number of bugs, 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) issues, and performance issues have been fixed.
Great work to all who contributed to Gutenberg 18.4, with special appreciation for the first-time contributors we had this release. Thank you!
No longer an experiment, the grid layout visualization is now available to everyone! See outlines of the grid columns and rows, and use the drag handles to make content span across them. (#61640)
Group blocks with a keyboard shortcut
Many design tools provide shortcuts for grouping elements. Gutenberg has been missing this convenience since blocks could be grouped… until today. Now you can conveniently group all selected blocks with the ⌘ Command + G on MacOS or Ctrl + G on Windows. (#46972)
Define custom aspect ratio presets with 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.
Tired of being stuck with the same standard aspect ratios for image cropping and layout? Now themes can define their own aspect ratio presets to use. (#47271)
Set new aspect ratios with the settings.dimensions.aspectRatios option in theme.json. As with other presets, the default options are always available by default. To remove them and use only your own, set the settings.dimensions.defaultAspectRatios option to false.
For extenders needing more customizability than the BlockToolbar has to offer, you can use the newly exported BlockPopover component to easily create your own custom toolbar. (#61529)
For extenders replicating rich text pasting behavior in your own blocks, you now have access to a convenient supports.splitting block setting. When it is enabled and content is pasted inside the block, it will split your block in two, insert the content, and then merge the ends together. (#54543)
For theme developers, the list block now includes a wp-block-list class to allow styling the block separately from other lists. No more accidentally selecting too many things when styling list blocks. (#56469)
Changelog
View full list of changes
Enhancements
Layout
Check child layout exists before generating classname. (61392)
Hide Image block resizer when inside a grid layout. (61603)
Editor: Enable Zoom-out mode in the post editor. (61293)
Keep original viewport width (single scale). (61424)
Open inserter 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. when clicking on inserter buttons on zoom-out mode. (61434)
Only add the selected pattern categoryCategoryThe 'category' taxonomy lets you group posts / content together that share a common bond. Categories are pre-defined and broad ranging. in metadata during insertion. (61557)
Add a keyboard shortcut to create group from the selected blocks. (46972)
Enhance block outlines and selection interactions. (60757)
Tiny tweak to position close button properly in the inserter. (61461)
Editor
Editor: Unify 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. component. (61273)
Editor: Unify the sidebar between the post and site editors. (61507)
Editor: Update and simplify the Post Summary and Post Card section in the document sidebar. (61624)
Try: Improve date-wrapping in prepublish flow. (61490)
Update: Implement the new discussion panel design. (61357)
Post Editor
Add global styles to settings using existing context code. (61556)
Display a notice after moving a post into the trashTrashTrash in WordPress is like the Recycle Bin on your PC or Trash in your Macintosh computer. Users with the proper permission level (administrators and editors) have the ability to delete a post, page, and/or comments. When you delete the item, it is moved to the trash folder where it will remain for 30 days.. (61670)
Redirect /wp_template_part/all to /patterns. (61446)
Moves “Patterns” command to site editor main navigation. (61416)
Adds “Template Parts” command to site editor. (61287)
Show pin/unpin button on the site editor 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 sidebar. (61448)
Remove default entry into 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. focus mode but retain ability to access via “Edit”. (61275)
Zoom-out: Fix 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. ref error. (61200)
Fix sticking “Reset” option in ToolsPanel. (60621)
RadioControl: Fix shrinking radio controls. (61476)
Block Library
Navigation Block: Add list item wrapper to social links when used in navigation block. (61396)
HTMLHTMLHyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. Block: Remove font weight on toolbar tab button – #61254. (61308)
Time to Read Block: Fix “this block has encountered an error” – #61459. (61614)
Image Block: Enable crop action when image has a link. (61470)
ShortcodeShortcodeA shortcode is a placeholder used within a WordPress post, page, or widget to insert a form or function generated by a plugin in a specific location on your site. Block: Fix layout margin override. (55028)
Return an empty object when no fallback templates are found (wp/v2/templates/lookup). (60925)
Site Editor
Fix user capabilities check for the Site Editor. (61444)
Preserve the wp_theme_preview query arg when navigating in Site Editor. (61394)
Trigger sidebar animations only on cross-route navigations. (61402)
Site Editor: Restore the hover zoom effect when hovering the editor frame. (61647)
Widgets Editor
Hide the close button on the inserter for widgets editor. (61510)
Data Views
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. on keyboard navigation. (61478)
Interactivity 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.
Interactivity API: Allow multiple event handlers for the same type with data-wp-on-document and data-wp-on-window. (61009)
Interactivity API: Prevent empty namespace or different namespaces from killing the runtime. (61409)
Interactivity API: Prevent wrong written directives from killing the runtime. (61249)
Add a section about block_editor_settings_all to the Filters and 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. doc. (61597)
Added check for duplicated slugs during manifest.json generation. (61332)
Block Editor: Remove multiline prop from Richtext doc. (61592)
Docs: How-to Guides > MetaMetaMeta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress. Boxes – Update metabox.md. (61314)
Docs: Interactivity API – Add viewScriptModule as a requirement to work with the Interactivity API. (61355)
Docs: Interactivity API : New pages – About and FAQ. (61323)
Docs: Remove list of keyboard shortcuts from FAQ page. (61591)
Docs: Update theme-json-living.md to fix little issue. (61354)
Fix WP versions for theme.json v3 migrationMigrationMoving the code, database and media files for a website site from one server to another. Most typically done when changing hosting companies. in inline documentation. (61328)
Theme.json: Update schema with working create theme link. (61306)
Update wordpress/a11yAccessibilityAccessibility (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) README.md. (61635)
Update Node.js requirement in create-block docs. (60962)
Update and restructure the Editor Hooks doc. (61596)
Updated links to developer resources on README.md. (61525)
Several Typo Corrections in Inline Documentations. (61662)
Code Quality
PHPPHPThe web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher load: move rest template controller 6.6 import to “REST” area. (61564)
Upgrade @types/reactReactReact is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. https://reactjs.org/. package and @types/react-dom. (60796)
Create Block: Match specified engines with Gutenberg and CoreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress.. (61430)
build: Suggest workaround if tsc --build fails. (61501)
build:package-types: Run silently to reduce user confusion. (61530)
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/ Actions: Fix PHP file change detection 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. pattern. (61183)
PatchpatchA special text file that describes changes to code, by identifying the files and lines which are added, removed, and altered. It may also be referred to as a diff. A patch can be applied to a codebase for testing.react-autosize-textarea for updated types. (61570)
“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-new tag) 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 Editor.
A special welcome to three new first time contributors!
The latest release includes 157 pull requests from 44 contributors, and generally focuses on polishing features, and addressing bugs. Significant activity has also been directed towards improving documentation and code quality.
As part of continuing to bring a single page application experience to WP sites, this change enables an experimental setting for whole-DOM-replacement on the client navigating between different pages without the need for a full page refresh. Previously this was only available for region-based replacement. (#59707)
Allow negative values for margin controls
Negative margin values can now be added directly in the editing experience, resolving a longstanding feature requestfeature requestA feature request should generally begin the process in the ideas forum, on a mailing list, as a plugin, or brought to the attention of the core team, such as through scope meetings held for each major release. Unsolicited tickets of this variety are typically, therefore, discouraged. and matching the current 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. This expands the design options for users leveraging the Editor. (#60347)
Add defaultFontSizes option to theme.json (incrementing theme.json to v3)
A previous attempt at adding the ability to add a defaultFontSizes option to theme.json didn’t stick (#56661) and this change reintroduces that ability. Because the default behavior of overriding font sizes has changed this has caused the version of theme.json to increment to version 3. (See this comment for more details.) Now defaultFontSizes can be set to false in theme.json to disable showing the default font sizes supplied from Gutenberg. (#58409)
Add publish flow in site editor
This continues the work on unifying the publishing flow between post and site editors and adds to the site editor the publish/save button that is used in post editor. This means we have the same publishing flow between the two editors. (#61136)
Other Notable Highlights
The Zoom Out Mode got some love:
Insert patterns at the end of the root section (#60855)
Make the zoom out inserters work for sections inside the section root (#60909)
Don’t show appender at all inside sections on zoom-out mode (#60948)
Drop patterns and blocks between sections only in zoom out mode (#60828)
In the Post Editor we moved around word count, post status and last edited info in page summary (#61235)
Bumped the required WordPress version to 6.4 and tested up to to 6.5. (#60780)
Abstract keyboard shortcuts for heading to paragraph transform and vice-versa. (60606)
Capitalize more occurrences of 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.. (60747)
Clean up top toolbar to use same metrics as 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. toolbar. (61126)
Update template and template parts labels. (61146)
Update the template preview menu item text in the Template option. (57802)
Upgrade ReactReactReact is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. https://reactjs.org/. to v18.3. (61202)
Site Editor
Add PluginDocumentSettingPanel in template inspector controls. (60961)
Add scoping of feature level selectors for custom block style variations. (61033)
Allow negative values for margin controls. (60347)
Allow opt out of certain sets of styles in the editor. (61035)
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. out color and typography variations. (60220)
Update utils for scoping CSSCSSCascading Style Sheets. selectors. (61026)
Editor: Move around word count, post status and last edited info in page summary. (61235)
Editor: Update post excerptExcerptAn excerpt is the description of the blog post or page that will by default show on the blog archive page, in search results (SERPs), and on social media. With an SEO plugin, the excerpt may also be in that plugin’s metabox. panel with new designs. (60894)
Make duplicate post action available only on the 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 for now. (61192)
Fix styles panel 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.. (61319)
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 aria-haspopup=”dialog” to Enable/Disable overrides button. (61309)
ListViewBlock: Combine ‘useSelect’ 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., part two. (61054)
Remove showFixedToolbar from useShowBlockTools. (60717)
Editor: Optimize some of the post-support panels. (61003)
CoreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress. data: getEditedEntityRecord: Do not return empty object. (60988)
Interactivity 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.
Add full page client-side navigation experiment setting. (59707)
Theme JSON: 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.PHPPHPThe web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher annotations from Core. (61301)
Update an anchor link in block-in-the-editor.md. (59527)
useBlockSync: Just testing without isControlled effect. (61114)
Add eslint autofix commit to ignored git commits. (61253)
Rephrasing for accuracy and link to Core TracTracAn open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress.ticketticketCreated for both bug reports and feature development on the bug tracker.. (61284)
Blocks: Add a warning when registering variation without a name. (61037)
“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-new tag) 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 Editor project (formerly called Full Site Editing).
The latest release includes 234 pull requests from 54 contributors, and generally focuses on polishing features, and addressing bugs. Significant activity has also been directed towards improving documentation and code quality.
We extend a warm welcome and thanks to four new first-time contributors! 🎉
Gutenberg 18.2 refines the flow of turning pattern overrides on and off. It introduces a new DisallowOverridesModal for easier interaction. The solution removes complexity by focusing on a more intuitive workflow, including a modal confirmation when disallowing overrides and pre-populated names for quicker re-enablement. Through consistent interaction, we aim to simplify the user experience. (60769)
Enabling Template Preview in the Post Editor for Non-Administrators
We aim to enhance collaboration and flexibility in WordPress. By changing the rules for template previews, we now allow users with lower roles, like Editor, to view and switch between templates. This update resolves a previous issue by permitting non-administrators to see templates while editing content. (60447)
Site Editor: Support Starter Patterns
When creating a new post or page in the site editor, a modal window allows users to choose a pattern to kickstart their layout and design flow. This feature was previously only available in the post editor. (60745)
Simplify Template Reset Language
A frequent observation from previous outreach:
Why are “clear customizations” for a template in a different place (in the title area) and named differently from “reset defaults” for styles?
The term “Clear customizations” was changed to “Reset,” with label updates to maintain consistency across the Site Editor and Command Palette. This change aims to improve clarity and reduce confusion for users performing template resets. The updated terminology aligns with other languages throughout the editorial experience, making the process more intuitive. (60256)
Other Notable Highlights
Animation improvements – subtle easing can make a huge impact
Improve 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. animation. (60408)
Editor: Animate opening and closing editor right 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.. (60561)
Editor: Animate the inserter and list view panels. (60665)
Bump minimum required PHPPHPThe web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher version to 7.2 (60714)
Enhancements
Site Editor
Add rename and trashTrashTrash in WordPress is like the Recycle Bin on your PC or Trash in your Macintosh computer. Users with the proper permission level (administrators and editors) have the ability to delete a post, page, and/or comments. When you delete the item, it is moved to the trash folder where it will remain for 30 days. actions to page panel. (60232)
Confirm dialog: Use more descriptive text for the confirm button. (60364)
Editor: Add wordcount and reading time info in post card. (60672)
Editor: Animate opening and closing editor right sidebar. (60561)
Editor: Animate the inserter and list view panels. (60665)
Editor: Update post URLURLA specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org component. (60632)
Editor: Use the ‘ConfirmDialog’ component in template validation notice. (60385)
Enable template preview in post editor for non administrators. (60447)
Support insert before/after keyboard shortcuts when focus is within the list view. (60651)
Back Compatback compatBackward compatibility - a desire to ensure that plugins and themes do not break under new releases - is a driving philosophy of WordPress. While it is a commonly accepted software development practice to break compatibility in major releases, WordPress strives to avoid this at all costs. Any backward incompatible change is carefully considered by the entire core development team and announced, with affected plugins often contacted. It should be noted that external libraries, such as jQuery, do have backward incompatible changes between major releases, which is often going to be a greater concern for developers.: Add Patterns submenu for WordPress 6.4. (60804)
Consolidate “bound 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.” color and “synced” colors. (60617)
Improve override indication for editable blocks in synced patterns. (60599)
Refine rename flow for blocks with overrides. (60234)
Add loading state on image upload in 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., Site logo and Cover blocks. (59519)
File: Use HTMLHTMLHyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers.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. to update the PDF preview label. (60494)
Navigation block: Add current-menu-item class for post type archive. (57808)
Remove block renaming control from advanced inspector controls group. (60453)
Data Views
Add ability to display fields as a badge in grid layout. (60284)
Data views table row: Make checkboxes and actions visible on touch devices. (60829)
DataViews: Make the experiment about custom views. (60813)
Layout
Add a Row control to grid layout in manual mode. (60652)
Apply negative margins for alignfull children of blocks with custom padding set. (60716)
Try reducing specificity of layout style selectors. (60228)
Include preact/debug when SCRIPT_DEBUG is enabled. (60514)
New APIs
Extensibility
Editor: Support PluginPostStatusInfo Slot in the site editor. (60814)
Editor: Unify PluginMoreMenuItem API between post and site editors. (60778)
Fix: Use coreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress. instead of core/editor on normalizeComplementaryAreaScope. (60821)
Fix translatable string in pagination modal. (60742)
Interactivity: Return useMemo and useCallback 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.. (60474)
Only show block icon in toolbar for contentOnly blocks when block is a synced block. (60647)
Patterns: Guard for unknown pattern in server-side resolver. (60464)
Snackbar: Make the explicitDismiss string translatable. (60368)
Update standardisation of ‘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.’ to have both words capitalised in user-facing menus. (60262)
Standardise capitalisation of Navigation Menu in sidebar. (60527)
Image: Fix cropper resize on align change (reactReactReact is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. https://reactjs.org/.-easy-crop upgrade). (60581)
Latest Posts: Remove wrapper div and apply consistent class. (60728)
Fix small 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. on the resize handle. (60427)
Fix the removePropertyFromObject function throws an error if the object is null. (60831)
Router: Load proper sidebar for /wp_template. (60850)
[Site Editor]: Fix ability to edit trashed pages. (60236)
Post Editor
Editor: Do not render publish time and post status panels in design post types. (60857)
Editor: Fix post status label styles for low-capability users. (60854)
Fix display of shortcut to add non breaking space in the post editor. (60625)
Fix: Action button alignment on details panel. (60773)
Fix: Action order is different from inspector and dataviews. (60877)
Fix: Do not show pattern and template actions on the post editor. (60568)
Fix: Missing items parameter and or missing onActionPerformed calls. (60753)
Fix: Trash Post action and permanently delete post action do not show errors on single item. (60597)
Post Editor Header: Make block toolbar toggle button focus visible. (59781)
Block Editor
Avoid errors when a block variation icon is an object. (60766)
Fix external link indicator in Link Control. (60439)
Fix for isPossibleTransformForSource handling selecting inexistent block. (59410)
Fix stuck dragging mode in UI in Firefox when dealing with deeply nested lists. (60845)
Prevents delete key from undoing automatic changes. (60858)
Raw Handling – msListIgnore – Check attributes are valid. (60375)
Data Views
DataViews: Fix typing in combobox 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.. (60819)
Fix default layout configuration in pages list. (60407)
I18Ni18nInternationalization, or the act of writing and preparing code to be fully translatable into other languages. Also see localization. Often written with a lowercase i so it is not confused with a lowercase L or the numeral 1. Often an acquired skill.: Add context to ‘Library’ string. (60520)
Components
Fix link control link preview when it displays long URLs. (60890)
ProgressBar: Fix CSSCSSCascading Style Sheets. variable with 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. value. (60576)
Don’t output base flow and constrained layout rules on themes without 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.. (60764)
Fix responsive column span logic on the front end. (60976)
Restore classic auto margin rule to its previous specificity. (60802)
Interactivity API
Allow multiple event handlers for the same type with data-wp-on. (60661)
Update the query block to permit non-core interactive blocks. (60006)
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/.
Fix PHP notice triggered by ‘gutenberg_update_initial_settings’. (60862)
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)
Fixes a link to the getEntityRecord documentation. (60823)
Improve documentation for block variation isActive property. (60801)
Update: Hardcoded documentation link to a 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". that does not exist. (60671)
Update: Reference editor scope instead of edit-site, edit-post on interface package documentation. (60818)
[Create Block] Adding documentation for the transformer property. (60445)
Tests: Shard JSJSJavaScript, a web scripting language typically executed in the browser. Often used for advanced user interfaces and behaviors. unit tests. (60045)
Tests: Share JavaScriptJavaScriptJavaScript or JS is an object-oriented computer programming language commonly used to create interactive effects within web browsers. WordPress makes extensive use of JS for a better user experience. While PHP is executed on the server, JS executes within a user’s browser. https://www.javascript.com/. build assets across PHP workflows. (60428)
Update: Avoid two useSelect calls on PostActions. (60752)
Update: Make content locking related selectors private. (60827)
Update: Move template actions to the editor store. (60395)
Update: Remove keyCode usage from dataviews package. (60585)
Update: Use util getVariationClassName instead of computing the variation inline. (60664)
Switching pattern categories inserter to Tabs component with arrow key navigation. (60257)
Tools
Update @talldan in codeowners file, remove from edit-widgets package. (60800)
Testing
Add end-to-end test for activating themes in site editor. (60707)
Automated Testing: Update end-to-end test npm commands. (60376)
Fix flaky Site Editor URL navigation end-to-end test. (60675)
PHP unit testunit testCode written to test a small piece of code or functionality within a larger application. Everything from themes to WordPress core have a series of unit tests. Also see regression. workflow: Try removing 7.0 and 7.1. (60686)
Perf: Improve way we measure template loading by adding posts. (60516)
Performance Tests: I’m tired of doing head math 😊. (60509)
@DaniGuardiola 🏅ProgressBar: Moved width to CSS var for performance. (60388)
@garridinsi 🏅 Interactivity API refactor to TypeScript (utils & kebabToCamelCase). (60149)
@xhemals 🏅 Update standardization of ‘Navigation Menu’ to have both words capitalized in user-facing menus. (60262), Standardise capitalization of the Navigation Menu in the sidebar. (60527)
Contributors
The following contributors merged PRs in this release:
Props to @joen, @priethor and @bphfor assisting with the preparation of this post and @vcanales, @mcsf, and @dmsnell for supporting me through my first Gutenberg release.
“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-new tag) 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 Editor project (formerly called Full Site Editing).
With more than 150 pull requests (PRs), Gutenberg 18.1 is packed with features and 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. fixes to suit all tastes — new pattern and template part insertion functionality, site backgrounds in global styles, 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) and performance improvements.
Lovers of documentation and code quality enhancements will be pleased to learn that their favorite PRs make up almost a third of the total number in this release!
As always, a big thank you goes out to all who contributed, with special gratitude to first-time contributors. Great work!
Version 18.1 extends background image support to top-level global styles in the Site Editor, which means you can add custom background images and photos to sites. Images can set to repeat, or be displayed as contain or cover backgrounds. (#59454)
And for those wondering — yes, as well as regular images, looping animated gifs will also work.
See more with data views
Whether it’s sorting or searching your patterns in grid and table layouts (#60337), or filtering and previewing all of your sites pages (#59950), version 18.1 brings further design consistency to configurable adminadmin(and super admin) views, not to mention quicker access and management of site assets.
Alongside the continuous integration into 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 workflows, data views have undergone improvements to accessibility and keyboard navigation (#59637).
Pattern schema and insertion
Pattern insertion gets an upgrade in the latest version of Gutenberg. The editor canvas will zoom out when browsing and inserting patterns using the block inserter, allowing a greater overview of how your patterns appear alongside the rest of your site’s content. (#59775)
Patterns are a powerful way to define design assets with configurable content. You can now give your patterns a “schema” by naming blocks that are overridable in all instances of those patterns. Users of your patterns will be able to see exactly which blocks are editable via a handy list in 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.. (#59977)
Swap and edit template parts
When editing your site’s templates, you can select template parts and immediately view alternative designs for that template part in the sidebar. Want to replace your footer design? Click on your template’s footer and select a new one from the available designs. Voilà! (#60203)
Gutenberg has long had an option to preview a page’s template when editing that page. 18.1 lets you select and edit a page’s important template parts, such as 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. and footer. To do so, click on a template part, then hit “Edit” in the toolbar. (#60010)
Other notable highlights
The editor displays a confirmation modal before clearing template customizations. (#60119)
You can collapse non-selected items in the list view using a handy new keyboard shortcut (Option-L on Mac, or Alt-L on Windows). (#59978).
Changelog
View the full changelog
Enhancements
Block Editor
Zoom out: Invoke zoom out mode when opening the patterns tab, and move the code to do so to a shared hook. (59775)
Block Previews: Update shadows in different contexts. (60161)
Update: Move post actions to the editor package. (60092)
Consolidate when showing revisionsRevisionsThe WordPress revisions system stores a record of each saved draft or published update. The revision system allows you to see what changes were made in each revision by dragging a slider (or using the Next/Previous buttons). The display indicates what has changed in each revision. link or action. (60194)
Editor: Update hover color of editor document title. (60113)
Add content schema to pattern editing view. (59977)
Close inspector on pattern categoryCategoryThe 'category' taxonomy lets you group posts / content together that share a common bond. Categories are pre-defined and broad ranging. select. (60004)
Focus block selection button only in navigation mode. (60207)
Pattern Shuffling: Make the results deterministic. (60074)
Add __next40pxDefaultSize to Image block Title Attribute. (60117)
Add support “HTMLHTMLHyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. Element” to Site Tagline. (59654)
Image: Remove temporary image check for rendering controls. (60212)
Reduce specificity of block library styles conflicting with block supports. (59457)
Update navigation blocks to use consistent link UIUIUser interface labels and field sizes. (60116)
Summary: Polish 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.. (60110)
Data views: Add confirmation modal for clearing customizations in templates. (60119)
Data views: Make trashTrashTrash in WordPress is like the Recycle Bin on your PC or Trash in your Macintosh computer. Users with the proper permission level (administrators and editors) have the ability to delete a post, page, and/or comments. When you delete the item, it is moved to the trash folder where it will remain for 30 days. a quick action again. (60165)
List View
Add keyboard shortcut to collapse list view items other than the focused item. (59978)
Adjust the List View close icon to resemble the Inspector close icon. (59999)
Update “Actions” string to “Options” in List View. (60136)
Templates
Add 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. to allow extending the list of post content blocks. (60068)
Render non-editable preview of template part when user does not have capability to edit template part. (60326)
Template Parts: Remove pattern title from sidebar. (60160)
Template Parts: Update replace flow to separate template parts from patterns. (60203)
Template Parts: Update the ‘Replace’ label to ‘Design’. (60156)
Zoom Out
Add a delete control to toolbar on zoomed out mode. (60214)
Media dialog push content in zoomed out mode. (60170)
Components
Popover / ToggleGroupControl: Use useReducedMotion() from @wordpress/compose. (60168)
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/.
Allow view access of template rest endpoint to anyone with the edit_post capability. (60317)
Site Editor: Consolidate save button functionality. (60077)
Revert #60300: Make sure the CSSCSSCascading Style Sheets. class id-dark-theme is added to the 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. body. (60616)
Block Editor
Make sure the CSS class is-dark-theme is added to the editor iframe body. (60300)
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.r57868 (Editor: Prevent font folder naive filtering causing infinite loops) from WordPress-Develop. (60141)
Block templates
Add null check to prevent errors in get_block_template filter. (60491)
Utilities
URLURLA specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org: Return early in getFilename where URL argument is falsy. (60265)
Accessibility
Data Views
Add click-to-select behavior on table rows. (59803)
Data views list layout: Apply focus styles to items on focus-visible rather than focus. (60253)
Add auto generated 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. documentation for editor package. (60356)
Fix @todo tags to follow standards in WordPress comments. (60148)
Fix Font Collection 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. schema definition. (60285)
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. documentation link to load JavaScriptJavaScriptJavaScript or JS is an object-oriented computer programming language commonly used to create interactive effects within web browsers. WordPress makes extensive use of JS for a better user experience. While PHP is executed on the server, JS executes within a user’s browser. https://www.javascript.com/.. (60181)
Fix: Invalid links to the block supports api. (60199)
Fix: Non existent link to submitting to the block directory. (60389)
Interactivity API: Variable name correction in the documentation. (60056)
Create Block: Update external template documentation to include variants. (60095)
Update: Use getPostIcon selector on document bar. (60128)
Distraction free: Remove unwanted space from string. (60108)
Global Styles
Additional CSS: Add code comments contextualising tranformStyles for clarity. (60267)
Global styles: output :root selector for CSS custom properties. (42084)
Style Engine: Continue get_classnames 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. after adding the default classname. (60153)
Font Library
Add test for Font Library and Theme Style Variations. (60250)
Update google fonts font collection data URL to the latest version available. (60079)
Block Library
Image: Use the new ‘useUploadMediaFromBlobURL’ hook. (60208)
Navigation Block: Add test coverage to check that post content is not removed. (60189)
Site Editor
DataViews: Don’t memoize every callback ‘PagePages’ component. (60103)
History: Simplify the push and replace methods. (60112)
Rich Text
RichText: Separate fallback instance ID for selection retrieval. (60277)
Block Locking
E2E: Test BlockSwitcher availability in l-post-ul-group CPT. (60254)
Data Views
DataViews: 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 error in list layout. (60101)
Tools
Testing
Automated Testing: Remove Puppeteer CI Job. (59311)
Blocks: Fix double gutenberg_ prefix in built dynamic blocks PHPPHPThe web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher. (60288)
First-time contributors
The following PRs were merged by first-time contributors 🎉 :
@interdevel: Fix @todo tags to follow standards in WordPress comments. (60148)
“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-new tag) 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 Editor project (formerly called Full Site Editing).
The 180th Gutenberg 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 release comprises a total of 206 closed PRs by 59 contributors and with a record-setting 17 first-time contributors. You’ll find in the release the result of additional Data View work, improvements for 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. and and media+ text 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. . The changelog also lists a ton of 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. fixes, performance improvements and about 35 PRs of Documentation updates.
In addition to Style Variations, the Site view screen is now populated with the controls to set side-wide color and typography choices. This will streamline designers’ workflows. (59594)
Featured Image: Now in Media + Text, with shadow support.
Users can use the Media + Text block in their templates as it now supports the featured image. The design possibilities now opened up beyond a column-bases layout also for single post or page templates. Drop shadow controls expand the design tools for developers, designers and site owner alike. (51491) (59616)
Data Views with improved filters and updated Template index page
The data views screens, which are also prototypes for the future adminadmin(and super admin) list pages, received quite a few intriguing updates. The Templates index page is now very flexible. In addition to the table view, users can now also enable a grid layout with preview cards or a list view that allows for full preview in a three-page window. The list view is available for templates, pages, and template parts. Another enhancementenhancementEnhancements are simple improvements to WordPress, such as the addition of a hook, a new feature, or an improvement to an existing feature. is the ability to select multiple criteria for filters. (59610) (59858) (59792)
Other Notable Highlights
The Grid layout experiments are the next step to consistent responsiveness of posts, pages, and templates. They are evolving quite a bit. If you haven’t opened them up you might want to start doing so now. This release includes a couple of updates. Blocks can now be grouped as a grid via the transform feature. With Column Start and Row Start controls in 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 Drag and Drop of blocks around the grid is now possible. (59483) (59853)
Changelog
Full changelog available
Enhancements
CoreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress. Data: Update method generating plural names. (59881)
Expand main content area to viewport when zoomed out. (59512)
Reduce visual prominence of primary actions in table data views, and consolidate primary + secondary actions in ellipsis menu. (59128)
Site Editor
Patterns: Add a title to the categoryCategoryThe 'category' taxonomy lets you group posts / content together that share a common bond. Categories are pre-defined and broad ranging. delete flow and increase line height. (59645)
Standardize block tools toggle button size to 32px. (59625)
Add Box Shadow support for featured image. (59616)
Background block supports: Move block support defaults to gutenberg_render_background_support and revert gutenberg_get_background_support_styles. (59889)
Layout
Add Column Start and Row Start controls to Grid children. (59483)
Try color and typography presets in Site View. (59594)
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.
Display settings ‘label’ defined by the ‘register_setting’ method. (59243)
Rich Text
RichText: Add non-breaking space shortcut on Windows. (43150)
New APIs
Support the PluginDocumentSettingPanel slot in the site editor. (59985)
Add 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. for duotone to account for gutenberg_restore_image_outer_container in classic themes. (59764)
Social icons: Only render label container when there’s a label. (60060)
Template Parts: Fix typo in translatable string. (59816)
Ensure consistent return type in WP_Navigation_Block_Renderer::Get_markup_for_inner_block(). (59820)
Return early from saving metaMetaMeta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress. data for the navigation without a $post->ID. (59875)
Fix root ID calculation when check if block can be transformed. (60167)
Featured Image: Fix overlay rendering in the editor. (60187)
Navigation: Avoid content loss when only specific entity fields are edited. (60071)
Font Library
Avoid auto-removing font families without font faces. (59910)
Ensure that errors reported from uploading font files are not duplicated. (59564)
Fix JSJSJavaScript, a web scripting language typically executed in the browser. Often used for advanced user interfaces and behaviors. errors when activating or deactivating system fonts. (59935)
Refactors the upload handler in order to check if files being uploaded are valid font files. (59648)
Reset notices when navigating away from the collection. (59981)
Activate the fonts coming from the backend and not the data from the frontend. (60093)
Install fonts in sequence to work around race condition. (60180)
Interactivity API
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. fixes from Core. (59903)
Interactivity: Ensure stores are initialized on client. (59842)
Interactivity: Restore scope when yielded promise rejects. (59708)
Prevent non-object state from being added. (59886)
Re-introduce data_wp_context() with _deprecated_function() call. (59834)
Site Editor
Don’t display welcome guide in hybrid theme. (55865)
Editor: Fix loading templates using a top level pattern block that includes a template part. (59900)
Fix opening of save panel when using the save shortcut. (59647)
Fix selected featured image when opening media library. (59769)
Make the delete 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. confirm dialogs consistent. (59825)
Restore the back button when navigating to the template from the home page. (59639)
Block Editor
Fix allow mouse users to edit link text when Link UIUIUser interface is active. (59635)
Fix crash when unmounting an 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.. (59992)
Handle when attributes param passed into hasStickyOrFixedPositionValue is nullish. (59800)
List view: Fix stuck moving animation on Enter. (59644)
Shadow support enable skip serialization for dynamic blocks. (59887)
FlatTermSelector: Invalidate optimistic update if term creation fails. (59945)
Global Styles
Fix retrieval of referenced preset values in editor. (59811)
Global Syles: Apply fallback background color to typography elements. (59347)
Presets: Show the default empty variation as well as the other presets. (59717)
Remove filter for same number of settings. (59590)
Site editor: Find font families for typography presets crashes editor. (59806)
Force root min-height of 100% for backgrounds. (59809)
Featured Image: Fix block support selectors after shadow support addition. (60184)
Fix list of base theme fonts when a theme variation is applied.. (59959)
Patterns
Add pattern title in create modal in post editor. (59550)
Pattern Explorer: Pass ‘rootClientId’ to the pattern list. (60014)
Pattern Shuffling: Don’t assume that patterns have categories. (60070)
Data Views
Ensure the ‘select all’ checkbox appears on hover. (59799)
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.: Default templates and template parts views do not work. (59794)
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)
Make save panel a dialog with proper labels, fix site editor focus loss after save. (59622)
Fix labeling of the navigation links in the list view. (59370)
Documentation
Block 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. schema: Add layout.allowCustomContentAndWideSize field. (59736)
Components: Fix headline hierarchy in README. (59726)
Components: Hide private READMEs from handbook. (60003)
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. links to getting started with JavaScriptJavaScriptJavaScript or JS is an object-oriented computer programming language commonly used to create interactive effects within web browsers. WordPress makes extensive use of JS for a better user experience. While PHP is executed on the server, JS executes within a user’s browser. https://www.javascript.com/.. (59927)
Fixes pseudo code doc block to use real PHPPHPThe web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher. (60012)
HeadingLevelDropdown: Fix JSDoc and documentation. (59727)
Replace “sidebar” with “panel” in README.md. (59664)
Update 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/ edit URLURLA specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org in docusaurus.config.js. (59969)
Update ReactReactReact is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. https://reactjs.org/. documentation links for forms. (59657)
Update api-reference – data-bind–hidden is an incorrrect attribute – should be data-wp-bind–hidden. (59955)
Update block supports documentation for WordPress 6.5. (59862)
Core Data: Clarify comments for entities’ plural methods. (59946)
Fix Code Standards for 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). 2 release. (59774)
Fix typo in Dataviews and Font Collection packages. (59656)
Update Nav block permissions variable naming accuracy. (59882)
Global Styles
Fetch the variations inside the component. (59588)
Theme JSON: Remove unused vars in layout class. (59938)
Use the preivew iframe to preview typography for consistency. (59587)
Background block supports: Move size defaults to 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. and block.json. (60008)
Plugin
Remove unnecessary ‘IS_GUTENBERG_PLUGIN’ check in ‘load.php’. (59873)
Update PHP Sync Issue generation script to ignore PRs with given labels. (59549)
Data Views
Update: Dataviews do not use strings on isCustom props passed down. (59609)
[Data Views]: Remove separator in item actions. (59822)
Data Layer
Data: Deprecate the getIsResolving selector. (59679)
Tools
Build Tooling
Add inline comment denoting version for Ruby setup. (59640)
“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-new tag) 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.
As with Gutenberg 17.8, many contributors are still focused on polishing for the upcoming WordPress 6.5 release, so this Gutenberg release continues to prioritize stability and 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. fixes. Enhancements and new features are highlighted below.
As a reminder, with WordPress 6.5 now in 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). phase, bug fixes from the Gutenberg 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 are backported for inclusion in 6.5 as needed. However, new features in Gutenberg 17.9 will not be included in WordPress 6.5.
Color and typography presets that are defined in theme variations are now exposed within the color and typography sections of Global Styles. This new feature allows users to mix and match color presets or typography from different variations, offering greater flexibility for designs from a given theme. (56622)
Indenting List 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. items via the tab key
The List block now supports indenting and outdenting when the selection is at the beginning of the List item. This improves the usability of the List block by allowing indenting via the keyboard, while still preserving existing tabbing behavior in the editor canvas when the selection is elsewhere within the block. (59199)
Shuffle option when choosing patterns
When a pattern is inserted and has categories defined, and where the pattern contains a single top-level block such as a Group block, a shuffle button is exposed in the block toolbar that allows a user to cycle through random patterns. This makes it easier to quickly browse through a variety of available patterns in specific scenarios. (59251)
Swap Template Parts in the Inspector
When selecting a Template Part in the site editor, the replace flow is now more discoverable with previews of alternate Template Parts available to select from the block inspector controls. This allows for a more at-a-glance approach to browsing different options for swapping out headers and footers. (55128)
Other Notable Highlights
Background images can now be set in the root of theme.json to provide site-wide background images (59354). There is currently no UIUIUser interface for it in Global Styles, and this will be explored in future releases.
For container blocks that use allowedBlocks, insert before and after actions are now supported on child blocks (59162).
Use drag handles to set row and column span and see a dotted outline of block placement when the new “Grid interactivity” experiment is enabled (59052).
Changelog
Full changelog available
Enhancements
Data Views
Apply hover styles to 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. chip while being configured. (59236)
Display all checkboxes when a single item is selected. (59233)
Pages data view: Make ‘View’ button open a new tab. (59554)
Update 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. titles for Template and Page management data views. (59011)
Global Styles
Add background image to top-level 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. styles. (59354)
Add color and typography presets to Global Styles. (56622)
Create a shared component for typography previews. (59503)
Enqueue block custom CSSCSSCascading Style Sheets. only when block renders on the page. (58991)
Style Book: Should persist when browsing global styles panels. (59261)
Block Library
Introduce the ‘useUploadMediaFromBlobURL’ utility hook. (59350)
Remove redundant copy from PanelBody titles. (59278)
Template Parts: Add a replace flow to the inspector controls. (55128)
Site Editor
Block Theme Previews: Remove “Looking for Template Parts?” hint. (59092)
Remove the site editor sidebar navigation edit button. (59335)
Scale the zoomed out mode to fit available space. (59342)
View full zoomed out mode canvas while inserting patterns. (59337)
Update the spacing in the font collection panel. (59357)
Post Editor
Editor: Standardize 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. button size to 32px. (58532)
Add Shuffle option to sections via pattern categoryCategoryThe 'category' taxonomy lets you group posts / content together that share a common bond. Categories are pre-defined and broad ranging.. (59251)
Use block naming for marking blocks as overridable in patterns. (59268)
Components
Storybook: Add mechanism to redirect moved stories. (59181)
Nested / Inner Blocks
InnerBlocks: Support insert before/after block actions when using allowedBlocks. (59162)
Plugin
Update cherry pick script to add Backported to WP Core label for backports. (58970)
Bug Fixes
Block Library
Columns: Correctly recalculate column widths when the column count is increased by more than 2 at once. (59301)
Group: Fix alignment of Group block placeholder text. (59271)
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.: Don’t show publicly non-queryable taxonomies. (59458)
Image: Remove scrolling of empty image blocks. (59305)
Site Logo: Update URLURLA specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org for site icon settings with fallback for WP coreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress. versions earlier than 6.5. (59485)
Site Logo: Update capitalization of Use as Site Icon toggle. (59383)
Title & 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.: Hide non content controls when block editing mode is ‘contentOnly’. (59295)
Font Library
Avoid creating font families without font faces. (59436)
Avoid loading theme fonts twice and assume they were already resolved by the font face resolver. (59421)
Changed installFont to installFonts so that multiple font families can be installed at once. (59451)
Fixed the font family modal to open in state when a font is already selected. (59379)
Font collection pagination: Add min height to avoid infinite number. (59241)
Hide UI elements when user lacks permissions. (59332)
Load/Unload the font face in browser when toggling the variants. (59066)
Use SearchControl component for search input. (59589)
Interactivity 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.
Fix navigate() issues related to initial state merges. (57134)
Navigation: Add missing empty space to print out valid HTMLHTMLHyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers.. (59255)
Prevent unwanted subscriptions to inherited context props. (59273)
HStack, VStack: Stop passing 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. props. (59416)
Rich text: Fix typing into empty flex element. (59473)
URLPopover: Fix a problem with the layout of link settings. (58906)
Fix issue with appender jumping when creating a new pattern. (59582)
Allow event bubbling even if keydown is passed. (59474)
Custom Fields
Block Bindings: Fix console error when selecting a bound block. (59598)
Change default “Connected to a custom fieldCustom FieldCustom Field, also referred to as post meta, is a feature in WordPress. It allows users to add additional information when writing a post, eg contributors’ names, auth. WordPress stores this information as metadata. Users can display this meta data by using template tags in their WordPress themes.” message in bindings. (59434)
Fix inserting button block when pressing enter in a block with bound text attribute. (59361)
Fix query loop with block bindings not working in the editor as expected. (59283)
Data Views
DataViews: Don’t use combobox when there are few available options. (59341)
DataViews: Set color for primary field/a element when focused. (58814)
Ensure ResizableFrame does not force Cover blocks within the editor to show drag handles. (59262)
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.: Scale html instead of iframe element for zoomed out mode. (59334)
Zoom out mode: Only apply grey background for mode. (59377)
Site Editor: Fix Global Styles outdated output. (59628)
Fix site editor crashing when not fully loaded. (59658)
Global Styles
Dynamically set border panel label based on the controls available. (59358)
Shadow: Fix layout collapse when indicator is selected. (59309)
Theme JSON: Check for null values to cater for blockGap. (59258)
Remove the extra unneeded color variations panel. (59718)
Post Editor
Command Palette: Prevent mode switching if only one editor mode is available. (59299)
Editor: Fix post type check in isEditingTemplate selector. (59105)
Top Toolbar: Fix ‘collapsed’ state synchronization. (59267)
Block 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.
Display toggle for hooked blocks added via filter. (59396)
Navigation Block: Fix erroneous escaping of ampersands. (59561)
Patterns
Disable image caption if part of synced pattern. (58916)
Disable selection checkbox if no bulk actions are eligible. (58950)
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)
Docs: Fix typo in blocks attributes guide. (59571)
Docs: Remove TOC, update formatting, and fix grammar in Interactivity API reference. (59406)
Fix @wordpress/interactivity module ID in documentation. (59419)
Fix: Multi line comment format on footnotes block. (59312)
Format PHPPHPThe web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher inline comments correctly. (59452)
Interactivity API Docs: Add async actions documentation. (59401)
Interactivity API Docs: Add initial version of getContext and getElement. (59293)
Interactivity API Docs: Add server functions documentation. (59373)
Interactivity API Docs: Add withScope description. (59542)
Interactivity API Docs: Fix code not closing. (59395)
Interactivity API Docs: Update image with WordPress Make Core source. (59281)
Interactivity API Docs: Merge Interactivity documentation to keep consistency with other packages. (59270)
Theme JSON Tests: Refactor base styles to a static variable. (58975)
Update: Simplify code and use capture events instead of pointer-events hack. (59565)
l10nL10nLocalization, or the act of translating code into one's own language. Also see internationalization. Often written with an uppercase L so it is not confused with the capital letter i or the numeral 1. WordPress has a capable and dynamic group of polyglots who take WordPress to more than 70 different locales.: Unify terminology to screen size. (59456)
Block Library
BlockPopover: Remove __unstableCoverTarget and __unstableRefreshSize in favour of BlockPopoverCover. (59228)
SnackbarList, Snackbar: Add unit testunit testCode written to test a small piece of code or functionality within a larger application. Everything from themes to WordPress core have a series of unit tests. Also see regression.. (59157)
Global styles: Rename typography elements file. (59355)
Synced Patterns
Remove unneeded pattern overrides translationtranslationThe process (or result) of changing text, words, and display formatting to support another language. Also see localization, internationalization. strings. (59269)
Navigation Menus
Revert removal of Nav fallback auto embed. (59220)
Tools
Testing
Add a fixture for the wp/block pattern block current version with overrides. (59492)
E2E: Refactor setup method to support class inheritance in RequestUtils. (59362)
Migrate ‘autosave’ end-to-end tests to Playwright. (58171)
Playwright: Pass the payload to createPost in data instead of query params to avoid URI too long errors. (59463)
You must be logged in to post a comment.