Welcome back to a new issue of Week in Core 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 Trac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. between March 21 and March 28, 2022.
- 34 commits
- 39 contributors
- 49 tickets created
- 5 tickets reopened
- 40 tickets closed
The Core team is currently working on the next minor 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.3, and on the next major, WP 6.0 🛠
Ticket 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
Build/Test Tools
- First pass at a .git-blame-ignore-revs file – #55422
- Make comment cache group persistent in object-cache.php – #54725
Bundled Themes
- Twenty Nineteen: Override flex order in comment form – #46600
Code Modernization
- Rename parameters that use reserved keywords in
wp-admin/includes/class-ftp.php
– #55327 - Rename parameters that use reserved keywords in
wp-admin/includes/class-plugin-upgrader.php
– #55327 - Rename parameters that use reserved keywords in
wp-admin/includes/class-theme-upgrader.php
– #55327 - Rename parameters that use reserved keywords in
wp-admin/includes/class-wp-debug-data.php
– #55327
Coding Standards
- Remove a one-time
$pieces
variable in wp-includes/class-wp-*-query.php
– #54728 - Simplify some long conditions in
wp-includes/class-wp-term-query.php
– #55352, #54728 - Use multi-line strings for the
$this->request
property in wp-includes/class-wp-*-query.php
– #54728 - Wrap the
$this->request
property in wp-includes/class-wp-*-query.php
– #54728
Docs
- Adjust documentation in
get_post_galleries()
tests per the documentation standards – #54725, #54729 - Adjust the
term_exists_default_query_args
filter 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. docs per the documentation standards – #55439 - Correct the documented return types for date and time related functions and filters – #54729
- Use third-person singular verbs for function descriptions in
wp-admin/includes/theme.php
and wp-admin/includes/theme-install.php
, per the documentation standards – #54729 - Use third-person singular verbs for function descriptions in
wp-includes/rewrite.php
, per the documentation standards – #54729 - Use third-person singular verbs for function descriptions in
wp-includes/taxonomy.php
, per the documentation standards – #54729 - Use third-person singular verbs for function descriptions in
wp-includes/template.php
, per the documentation standards – #54729
Editor
- Optimize preload paths for post and site editors – #55337
External Libraries
- Update Jcrop to version 0.9.15 – #54035
Menus
- Improve cache priming in the
wp_get_nav_menu_items
function – #55428 - Improve padding on bulk action labels for small screens – #54855
Options, Meta Meta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress. APIs
- Rephrase the description of the “Avatars” section – #32998
Plugins
- Avoid stomping of some variables in
wp-settings.php
– #55432
Query
- Ensure that sticky post query returns all sticky posts – #36907
- Query: Improved sticky post query – #36907
Taxonomy A taxonomy is a way to group things together. In WordPress, some common taxonomies are category, link, tag, or post format. https://codex.wordpress.org/Taxonomies#Default_Taxonomies.
- Introduce
term_exists_default_query_args
filter – #55439
Tests
- Remove some unused variables in
phpunit/tests/filters.php
– #54725
Tests
- Use a more descriptive name for the sticky posts test that verifies the parameters from the main query – #36907
Upgrade/Install
- Fix the docs for the default value of
$clear_working
in WP_Upgrader::run
– #55450 - Update sodium_compat to v1.17.1 – #55453
Props
Thanks to the 39 people who contributed to WordPress Core on Trac last week: @SergeyBiryukov (10), @peterwilsoncc (7), @jrf (7), @audrasjb (4), @Spacedmonkey (4), @aristath (4), @poena (4), @justinahinon (4), @azouamauriac (3), @sabernhardt (3), @helen (2), @costdev (2), @uday17035 (1), @Presskopp (1), @socalchristina (1), @aandrewdixon (1), @hellofromTonya (1), @francina (1), @JeffPaul (1), @paulkevan (1), @sumitsingh (1), @ryokuhi (1), @priyank9033 (1), @rehanali (1), @noisysocks (1), @Chouby (1), @paragoninitiativeenterprises (1), @karpstrucking (1), @hareesh-pillai (1), @garrett-eclipse (1), @jsnajdr (1), @webcommsat (1), @GaryJ (1), @netweb (1), @johnjamesjacoby (1), @ocean90 (1), @joyously (1), @stevegrunwell (1), and @pbiron (1).
Congrats and welcome to our new contributor of the week: paulkevan ♥️
Core committers: @sergeybiryukov (13), @audrasjb (12), @spacedmonkey (5), @davidbaumwald (2), @helen (1), and @johnbillion (1).
#5-9-3, #6-0, #core, #week-in-core