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/ 8.2 is released. The team continues to heavily iterate on the two big projects: Full Site Editing and the navigation screen.
The release also includes a number of improvements, features, 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 the post editor.
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. Patterns
After the introduction of the search support, the Block Patterns UIUIUser interface and APIs continue to improve with the introduction of the block pattern categories. In addition to that, a viewportWidth property has been made available to allow tweaking the width used on the block patterns preview. This is especially useful for large block patterns.
Cover Block content alignment
The Cover block saw the introduction of the new content alignment feature which opens up more design possibilities.
Editing flow
The editing flow is a constant priority for the project, and Gutenberg 8.2 introduces several enhancements to improve the writing experience. Copying, cutting, and pasting single blocks is now much easier. You can also split out of captions and button blocks using “Enter” to continue your writing.
8.2 🇮🇹
Features
Cover block: Support customizing the content alignment. (21091) (22322)
Refine the specificity of the embed block styles. (21599)
Change inserter search placeholder text color. (22444)
Improve interactions and add unit parsing to the unit selector used in Cover block. (22329)
Use smaller spacer and cover block step values. (22320)
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): Add explanatory text before the a11y.speak aria-live regions. (22112)
ReactReactReact is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. https://reactjs.org/.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.:
Add new React hook UseCopyOnClick as an alternative to the ClipboardButton component. (22224)
Add usePrevious hook to wordpress/compose package. (22540) (22597)
Add CSSCSSCascading Style Sheets. support to start and build scripts. (21730)
Support enabling/disabling dev tools, bundle analyzer and externals for build and start scripts. (22310) (22426)
Support preloading 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. requests using the fetchAllMiddleware middleware. (22510)
Add Close button 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.. (22323)
Block API: Allow block registration without categoryCategoryThe 'category' taxonomy lets you group posts / content together that share a common bond. Categories are pre-defined and broad ranging.. (22280)
Support customizing the viewportWidth for block patterns. (22216)
Bug Fixes
Fix theme CSS bleed in the Button component. (22460) (22522)
Fix CSS validation error on Button block styles. (22583)
Fix editor crash potentially happening when hovering style variations. (22490)
wordpress/env: Start database service before running tasks. (22486)
Fix navigation screen crash with no menu items. (22342)
Adds save and failure notices to the navigation screen. (22326)
Display the block appender only for the currently active menu. (22311)
Allow editing of new menu items from the block inspector. (22210)
Submenu nesting and saving new nested items. (21671)
Block-based Widgets screen and 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. tab:
Use interface package on widgets screen 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.. (22304)
Use single block editor in the widgets screen. (22140) (22459)
Add legacy widgetWidgetA WordPress Widget is a small block that performs a specific function. You can add these widgets in sidebars also known as widget-ready areas on your web page. WordPress widgets were originally created to provide a simple and easy-to-use way of giving design and structure control of the WordPress theme to the user. to calendar transform. (14586)
Global Styles and 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.:
Move supports to block.json files for coreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress. blocks. (22422)
Create Block: Simplify the process of defining a config for templates. (22235)
Add BlockContext component to type-checking. (22353)
Build Tooling
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: Fix dependency group checking for CommonJS. (22230)
Restore Playground 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/ Pages deployDeployLaunching code from a local development environment to the production web server, so that it's available to visitors.. (22443)
Fix API Docs generation for filenames with spaces. (22513)
Fix check-latest-npm.js failure on Windows. (22485)
Refactor the changelog script as a release tool command. (22380)
Enable import/no-unresolved ESLint rule for Gutenberg. (20905)
Framework: Pin nvmrc to specific current LTS. (22236)
Performance Benchmark
The following benchmark compares performance for a particularly sizeable post (~ 36000 words, ~ 1000 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 8.2.0
7.4s
29.7ms
Gutenberg 8.1.0
8.6s
29.7ms
WordPress 5.4
9.2s
26.8ms
Kudos for all the contributors that helped with the release. 👏