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.
Two weeks have passed since the last 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/ release, which means a new version is already available! Gutenberg 10.5 introduces many new 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, embedded PDFs, enhancements to the Template Editing Mode, improvements to Widgets in the 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., and many 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 as well.
The File Block now supports embedding PDFs in most major browsers. This option can be enabled or disabled through a 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. toggle.
Before 10.5, when any block that was slightly out of view was selected, the page would automatically scroll so that the top of the selected block was visible, potentially disorienting the user. From 10.5 onwards, the scroll will only happen if the block is not selected directly by the user.
Suggest block pattern transformations that are contextual to the currently selected ‘simple’ blocks (no InnerBlocks). (30469)
Small adjustments to bundled block patterns. (31105)
Query Patterns:
Try more opinionated query block patterns. (30763)
Add the small image and title pattern back in, fix 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. length.. (30817)
Components: Add create-styles. (30509)
Design Tools:
Add border color, style, and width support. (30124)
Icons: Update icons for text overlay and crop. (30673)
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 resetLocaleData method. (30419)
Publishing Flow: Show post events in the post schedule calendar. (29716)
Template Editing Mode:
Allow creating custom block templates in classic themes. (30438)
Move the template mode edit and new links to a dedicated template panel. (30900)
Replace the document tab with a template tab in template mode. (30860)
Unify saving flow between template mode and default mode. (30793)
Update the template mode canvas padding and adds a backlinkBacklinkIncoming links to a web page. Search engines view backlinks as a reputation builder. The more quality (as determined by the search engine) incoming backlinks a site has usually helps a site to rank better in search engine results.. (30658)
Site Editor:
Add ‘area’ selection to convert to template part flow. (30395)
Writing Flow: Scroll selected block only if it has no focus. (30924)
Bug Fixes
Apply a StyleProvider around fills that can be used inside the iframeiframeiFrame is an acronym for an inline frame. An iFrame is used inside a webpage to load another HTML document and render it. This HTML document may also contain JavaScript and/or CSS which is loaded at the time when iframe tag is parsed by the user’s browser.. (31073)
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. Fetch: Make preloaded OPTIONS requests use parse setting. (28862)
Block Library:
Duplicate media types to avoid bad imports. (30973)
Image Block: Disable media buttons in the uploading state. (30863)
Query: Fix max-height to query pattern preview. (30757)
Post Title: Fix warnings for RichText in inline containers. (30666)
Site Title: Add default block after pressing enter at the end of Site Title. (30996)
Block Editor:
Bring back imageDefaultSize shim for WP 5.7. (30955)
Fix the position of vertical add a new block in RTL mode. (31035)
Template part: Fix PHPPHPThe web scripting language in which WordPress is primarily architected. WordPress requires PHP 7.4 or higher notice for placeholder block. (30928)
Components:
Add a StyleProvider to support CSSCSSCascading Style Sheets.-in-JSJSJavaScript, a web scripting language typically executed in the browser. Often used for advanced user interfaces and behaviors. components inside iframes. (31010)
Fix “RadioControl: checked” style outside of Gutenberg. (30670)
Fix Post Publishing Popover moving when certain dates are clicked. (30298)
Fix useForceUpdate Memory Leak: Only setState if the component is still mounted. (30667)
General Interface: Fix is-link style to take colors from wp-adminadmin(and super admin) theme. (30823)
Inserter: Stop event propagation for the select element’s onBlur to fix the behavior in iOSiOSThe operating system used on iPhones and iPads. when selecting a pattern categoryCategoryThe 'category' taxonomy lets you group posts / content together that share a common bond. Categories are pre-defined and broad ranging.. (30717)
Site Editor:
Focus save button when entities save states panel is opened. (30873)
Remove call to wpautop that unintentionally alters block markup in template parts. (30552)
Template Editing Mode: Hide the template selector and template mode from non-viewable post types. (30861)
Experiments
Block-based Widgets:
API:
Don’t use deprecated widget_class property. (30429)
Fix null instance property when instance settings are empty. (30713)
Add media uploader capabilities to block-based 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. customize screen. (30954)
Add move to widget area dropdown in customizer. (30896)
Fix editing performance in Widgets Customizer. (30654)
Fix block-based widget customizer initializing too soon. (30864)
Refactor the inspector in Widgets Customizer to use coreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress. controls. (30431)
Fix: CSS variable reference mechanism 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.. (31015)
Make the dependency of the star matcher explicit when translating theme.json. (30604)
Only remove the default font family in the editor from themes with theme.json file. (30895)
Remove no longer needed translations handled in PHP for settings. (30605)
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.: Add util to transform from a v0 schema to the latest. (30600)
Documentation
docgen:
Add support for TS exported static non-function variables. (30971)
Add fix to suggested prefixes of the 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".. (30953)
Change references from Block Style Variations to Block Styles. (30911)
Fix Block Editor 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) link. (30569)
Fix more examples for register_block_type – apiVersion to api_version. (30819)
Fix PHP example for register_block_type – apiVersion to api_version. (30818)
Fixed a type and made the whole explanation more clear. (30487)
Fixes broken 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/ links to commonly used labels. (30875)
Improve semantics in the block-based theme guide. (30946)
Include a note about is_default property for register_block_style. (30792)
Blocks: Fix PHPDocs of gutenberg_block_has_support. (31050)
Query Utils: Fix return type of construct_wp_query_args(). (30611)
License: Interim dual license of future contributions. (30383)
Packages:
Block Library – Social Links: Update param type. (30652)
Components: Add documentation for the text prop on the Button component. (30796)
Core Data: Fixes return type for getEntitiesByKind. (30639)
Block Editor: Update import statement of ImageSizeControl component. (30704)
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 namespace param clarification. (30501)
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:
Account for editor styles file removal on WP 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.. (30894)
Format all markdown files using Prettier formatter. (30715)
Format all JSON files using Prettier formatter. (30714)
Updated .editorconfig files to work with automatic file formatting. (30794)
Update WP compatibility check in gutenberg_pre_init(). (29938)
Fix end-to-end test failure screenshots not capturing at the right time. (28449)
Fixture regeneration: Infer tabs use from the prettier configuration. (30813)
Skip unstable template part end-to-end test. (30748)
Trim block fixture HTMLHTMLHyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. when generating other test fixture files. (30981)
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 10.5
7.86s
55.86ms
Gutenberg 10.4
7.25s
42.51ms
WordPress 5.7
6.86s
37.1ms
Kudos to all the contributors that helped with the release! 👏
Thanks @youknowriad and @priethor for helping with the release and the release post, respectively.