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.
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/ 9.6 has been released. The big focuses throughout this release cycle were Full Site Editing and Global styles. This release also includes many fixes and some nice new features and enhancements.
Dragging blocks from the inserter
From this release, blocks can be directly dragged from the inserter to the post canvas ― dragging patterns is not yet supported.
Vertical layout for buttons
The buttons 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. gained the ability to use a vertical layout in addition to the default horizontal.
9.6.0 🇨🇱
Features
Allow dragging blocks from the inserter into the canvas. (27669)
Buttons: Add variations for vertical layout. (27297)
Enhancements
Buttons block: Change position of the link popover. (27408)
New APIs
Add a useFocusOnMount hook to the wordpress/compose package. (27574)
Components: Introduce a isDisabled prop to the Disabled component. (26730)
Create block:
Use 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. version 2. (26098)
Fix for supporting external templates. (27784) (27776)
Bug Fixes
WidgetWidgetA WordPress Widget is a small block that performs a specific function. You can add these widgets in sidebars also known as widget-ready areas on your web page. WordPress widgets were originally created to provide a simple and easy-to-use way of giving design and structure control of the WordPress theme to the user. screen: Fix block select on focus. (27755)
Embed block: Add htmlHTMLHyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. and reusable support back. (27733)
Add useCallbackRef to avoid calling the ref multiple times with the same node. (27710)
Correct getRedistributedColumnWidths and related tests. (27681)
Remove CSSCSSCascading Style Sheets. Custom Property in code block. (27672)
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 code block for font-size property (27862)
Block crashes if font family is not found. (27654)
Uncaught error with a custom generic store without a unsubscribe function in useSelect. (27634)
Revert date changes from 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". ‘replace-moment’. (27550)
useMediaQuery: Make it safe for SSR environments without window. (27542)
Fixes the width on the circle color picker popover. (27523)
ComboboxControl/FormTokenField: Fix iOSiOSThe operating system used on iPhones and iPads. zooming for input. (27471)
Fallback to regular subscribe if the store doesn’t exist in useSelect. (27466)
Global Styles getPresetVariable uses a wrong variable; Remove GLOBAL_CONTEXT. (27450)
Popover: Fix issue with undefined getBoundingClientRect. (27445)
Try fixing combobox 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) issues. (27431)
Support gradients with omitted stop positions in CustomGradientPicker. (27413)
Fix combobox suggestion list closure when clicking scrollbar. (27367)
Video Block: Let the video fill the container. (27328)
Media & Text “crop image to fill” to work with linked media. (27211)
Give editable fields in blocks better aria-labels. (26582)
Replace function should handle empty string callback return in the 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. parser. (16358)
Performance
Split coreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress. blocks assets loading. (25220)
Experiments
Add a useDialog hook and replace the duplicated PopoverWrapper. (27643)
Allow 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. only inside Query block. (27637)
Adjust mobile margins for the Query block’s grid view. (27619)
Query block: Allow inheriting the global query arguments. (27128)
Precise that element ref returned by the 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. that return a ref can change between function or object. (27610)
Minor changes to release documentation for clarity. (27571)
Capitalize 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/. in accordance with the word mark. (27539)
Document the useBlockWrapper hook in the block registration documentation. (26592)
Add a document explaining the different block API versions. (26277)
Update the registration examples to use apiVersion 2. (26100)
Code Quality
Remove: Missed unused weights and style translationtranslationThe process (or result) of changing text, words, and display formatting to support another language. Also see localization, internationalization. code. (27739)
Release script: Set draft status, and only remove after uploading asset. (27713)
CI: Run date test timezone and localeLocaleA locale is a combination of language and regional dialect. Usually locales correspond to countries, as is the case with Portuguese (Portugal) and Portuguese (Brazil). Other examples of locales include Canadian English and U.S. English. variations using bash script. (27600)
CI: Run package/date unit tests in different timezones. (27552)
Avoid cancelling other end-to-end test jobs when one fails. (27541)
Add webpack 5 support to dependency-extraction-webpack-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. (27533)
Add 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/ support document. (27524)
Make zip-based URLURLA specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org parsing more general. (27019)
The following benchmark compares performance for a particularly sizeable post (~36,000 words, ~1,000 blocks) over the last releases. Such a large post isn’t representative of the average editing experience but is adequate for spotting variations in performance.
Version
Loading Time
KeyPress Event (typing)
Gutenberg 9.6
4.33s
27.82ms
Gutenberg 9.5
4.21s
23.04ms
WordPress 5.6
5.16s
23.46ms
Kudos to all the contributors that helped with the release!