A Week in Core – February 21, 2022

Welcome back to a new issue of Week in CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress.. Let’s take a look at what changed on TracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. between February 14 and February 21, 2022.

  • 33 commits
  • 48 contributors
  • 57 tickets created
  • 20 tickets reopened
  • 70 tickets closed

The Core team is currently working on the next minor releaseMinor Release A set of releases or versions having the same minor version number may be collectively referred to as .x , for example version 5.2.x to refer to versions 5.2, 5.2.1, 5.2.3, and all other versions in the 5.2 (five dot two) branch of that software. Minor Releases often make improvements to existing features and functionality., WP 5.9.1, and on the next major, WP 6.0 🛠

Ticketticket Created for both bug reports and feature development on the bug tracker. numbers are based on the Trac timeline for the period above. The following is a summary of commits, organized by component and/or focus.

Code changes

Administration

  • Fix a CSSCSS Cascading Style Sheets. issue on the Welcome Panel when the “Dashboard” heading is missing – #54977

Bundled Themes

  • Twenty Seventeen: Remove bottom border (box-shadow) from linked images – #55141
  • Twenty Twenty-One: Allow editor styles to control blockBlock Block 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. margins – #54250
  • Twenty Twenty-Two: Bump theme version to 1.1 – #55056

Cache APIAPI An 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 wp_cache_flush_runtime function – #55080

Coding Standards

  • Rename some variables in iis7_add_rewrite_rule() for consistency – #54728

Docs

  • Correct parameter types for data_wp_validate_boolean()#54725, #54729
  • Fix typo in TracTickets::isTracTicketClosed() description – #54729
  • Improve some DocBlocks in wp_validate_boolean() tests for consistency – #54725, #54729
  • Use third-person singular verbs in some test descriptions in phpunit/tests/functions/#54725

Editor

  • Adds an additional check to guard against incompete presets – #55161
  • Automatically apply global styles duotone filters to render in post editor – #55190
  • Backportbackport A 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. Duotone fixes for 5.9.1 – #55179
  • Grant only admins access to the “Navigation Menus” UIUI User interface for block and non-block themes – #54889
  • Prevent front-end assets of a block from being enqueued in the block editor – #55151
  • Update block editor packages for WordPress 5.9.1 – #55179
  • Fix PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher warning in WP_REST_Global_Styles_Controller if no styles exist – #54900
  • Load the global styles before the theme styles in the editor – #55188

External Libraries

  • Update random_compat to version 2.0.21 – #55181
  • Upgrade PHPMailer to version 6.5.4 – #55187

Filesystem API

  • Use a temp folder for Content-Disposition files – #55109

Networks and Sites

  • Remove unnecessary commented code from remove_user_from_blog()#55170

Script Loader

  • Improvements to the load block support styles mechanism – #55148
  • Load block support styles in the head for block themes – #55148
  • Load block themes styles in the head section – #55148
  • Prevent normalizing data URIs in _wp_normalize_relative_css_links()#54243, #55177

Tests

  • Convert _wp_to_kebab_case() tests to use a data provider – #54725
  • Correct the @ticket reference in a download_url() test with the Content-Disposition headerHeader The 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.#55109
  • Correct the order of expected and actual values in get_status_header_desc() tests – #54725
  • Correct the order of expected and actual values in wp_array_slice_assoc() tests – #54725
  • Correct the order of expected and actual values in wp_validate_boolean() tests – #54725

Themes

  • Allow extending WP_Theme_JSON and WP_Theme_JSON_Resolver classes – #55178, #55179

Widgets

  • Missing markup from Widgets Group block – #55072

Props

Thanks to the 41 people who contributed to WordPress Core on Trac last week: @oandregal (6), @azouamauriac (4), @jrf (3), @SergeyBiryukov (3), @ironprogrammer (3), @Mamaduka (3), @sabernhardt (2), @nidhidhandhukiya (2), @swissspidy (2), @aristath (2), @ntsekouras (2), @noisysocks (2), @scruffian (2), @audrasjb (2), @wpsoul (1), @youknowriad (1), @paragoninitiativeenterprises (1), @hellofromtonya (1), @mikachan (1), @peterwilsoncc (1), @kapilpaul (1), @Faison (1), @critterverse (1), @rolfsiebers (1), @antonynz (1), @gziolo (1), @ocean90 (1), @stacimc (1), @mukesh27 (1), @hellofromTonya (1), @Synchro (1), @ajlende (1), @rafiahmedd (1), @Spacedmonkey (1), @tillkruess (1), @flixos90 (1), @adamsilverstein (1), @barryhughes (1), @abhanonstopnewsuk (1), @staatic (1), @jeherve (1), @sergeybiryukov (1), @costdev (1), @talldanwp (1), @petaryoast (1), @manfcarlo (1), @pyrobd (1), and @Boniu91 (1).

Congrats and welcome to our 5 new contributors of the week: @rolfsiebers, @antonynz, @barryhughes, @staatic, @pyrobd ♥️

Core committers: @sergeybiryukov (13), @audrasjb (9), @jorgefilipecosta (4), @hellofromtonya (3), @ocean90 (2), @spacedmonkey (1), and @clorith (1).

#5-9-1, #6-0, #core, #week-in-core