A Week in Core – January 24, 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 January 17 and January 24, 2022.

  • 25 commits
  • 33 contributors
  • 60 tickets created
  • 24 tickets reopened
  • 65 tickets closed

The Core team is currently working on the next major release, WordPress 5.9 🛠

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

  • Properly handle HTMLHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. entities in the News & Events dashboard widgetWidget A 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.#41208

Bundled Themes

  • Bump the versions for bundled themes for release – #54783
  • Reverts [52549] (default presets in use by default themes) – #54782
  • Twenty Twenty-Two: Re-add the link to the theme’s HelpHub changelog – #54318
  • Twenty Twenty-Two: update the required version – #54318

Coding Standards

  • Use a more appropriate variable name in link_advanced_meta_box()#54856

CustomizerCustomizer Tool 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.

  • Remove Menus panel when a theme does not support menus – #54888
  • Remove Widgets panel when a theme does not support widgets – #54888

Date/Time

  • Add a unit testunit test Code 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 the return type of current_datetime()#53484

Docs

  • Docblockdocblock (phpdoc, xref, inline docs) corrections for get_block_file_template()#54879
  • Docblocks consistency fixes after [52604]#54690
  • Fix typos in some DocBlocks – #54729
  • Further update the send_retrieve_password_email filterFilter Filters 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. documentation for consistency – #54690
  • Replace “Current theme” with “Active theme” in various DocBlocks – #54831, #54770

Editor

  • wordpress package updates – #54487
  • Bump editor packages to include the latest fixes – #54487
  • Update wordpress packages for WP 5.9 RCrelease candidate One 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). 4 – #54487
  • Update wordpress packages for WP 5.9 RC 3 – #54487

General

  • Clarify the deprecation messages in the _deprecated_*() functions family – #54658

Help/About

  • Update Freedoms page for 5.9 – #54270

Internationalization

  • Improve the context for color-related strings in WP_Theme::translate_header()#54804

Plugins/Themes

  • Allow to install/activate plugins/themes which require the WordPress version currently in development – #54882

Script loader

  • Prevent DB errors during Multisitemultisite Used to describe a WordPress installation with a network of multiple blogs, grouped by sites. This installation type has shared users tables, and creates separate database tables for each blog (wp_posts becomes wp_0_posts). See also network, blog, site install – #54800

Upgrade/Install

  • Update $_old_files for 5.9#54894

Users

  • Add new hooksHooks In 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. to filter retrieve password emails – #54690
  • Revert the variable change in [52606] that caused the tests to fail – #54690

Props

Thanks to the 39 people who contributed to WordPress Core on Trac last week: @audrasjb (8), @costdev (6), @SergeyBiryukov (5), @hellofromTonya (4), @johnbillion (3), @talldanwp (3), @desrosj (2), @kjellr (2), @peterwilsoncc (2), @poena (2), @shedonist (1), @ryelle (1), @get_dave (1), @schlessera (1), @aristath (1), @kebbet (1), @connapptivity (1), @ocean90 (1), @sabernhardt (1), @sayedulsayem (1), @pbearne (1), @iandunn (1), @kpegoraro (1), @nickciske (1), @mukesh27 (1), @Presskopp (1), @davidbaumwald (1), @hellofromtonya (1), @mkox (1), @cbravobernal (1), @joen (1), @mamaduka (1), and @isabel_brison (1).

Congrats and welcome to our 3 new contributors of the week: @connapptivity, @kpegoraro, @mkox ♥️

Core committers: @sergeybiryukov (7), @audrasjb (5), @noisysocks (4), @desrosj (3), @peterwilsoncc (2), @davidbaumwald (1), @ocean90 (1), @jffng (1), and @hellofromtonya (1).

#5-9, #core, #week-in-core