A Week in Core – February 7, 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 31 and February 7, 2022.

  • 29 commits
  • 46 contributors
  • 101 tickets created
  • 14 tickets reopened
  • 69 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

Build/Tests tools

  • Rename the test file and class for wp_get_global_stylesheet() tests – #54782
  • Use more appropriate assertions in wp_get_global_stylesheet() tests – #54782

Bundled Themes

  • Twenty Twelve: Typo correction a bundled pattern – #55099
  • Twenty Twenty-One: Replace GitHubGitHub GitHub is a website that offers online implementation of git repositories that can 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/ with .org link in Theme URI – #55018
  • Twenty Twenty-Two: Fix headings consistency in Pricing table pattern – #54929
  • Twenty Twenty-Two: Make 404 pattern search label and button translatable – #54928
  • Twenty Twenty-Two: Remove negative side margins on group blocks with a background – #54944
  • Twenty Twenty-Two: Restore custom padding for group blocks with a background color – #55103, #54944
  • Twenty Twenty: Add Noto Serif as a fallback font before Garamond – #50723

Coding Standards

  • Rename $r variable to $args for clarity in walk_nav_menu_tree()#54728
  • Rename $r variable to $args for clarity in walk_page_tree()#54728
  • Rename the $profileuser variable to $profile_user in wp-admin/user-edit.php#54728
  • Use strict comparison in wp-admin/user-edit.php#54728
  • Use strict type check for in_array() in wp_get_global_stylesheet()#54782

Comments

  • Only render term update notices on term screens – #54955, #42937
  • Verify ‘mirroring’ property exists in media views – #53856

Docs

  • Add a comment to clarify the username_exists() check in wpmu_validate_blog_signup()#54326
  • Fix typo in the is_post_status_viewable() function description – #55068
  • Typo corrections in various 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. docblocks – #55073, #54729

Editor

  • Classic themes using default presets are not working – #54782
  • Remove standard post type UIUI User interface for templates and template parts – #54908

Update jQuery Color to 2.2.0 – #55016, #51405 Update version string for hoverIntent – #54904

General

  • Remove inaccurate reference to the link_updated field from the wp_insert_link() DocBlockdocblock (phpdoc, xref, inline docs)#54880

Options, MetaMeta 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

  • Correct some inline docsinline docs (phpdoc, docblock, xref) for update_post_meta and delete_post_meta#54835

TaxonomyTaxonomy 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.

  • Remove cache expiry limitation in WP_Term_Query – #54511

Toolbar

  • Don’t hide adminadmin (and super admin) bar text labels from screen readers on small screens – #54895

Upgrade

  • Add follow up ticket ID to upgrade_590() comment – #54906
  • Prevent warnings upgrading cron array – #54906, #53940

Props

Thanks to the 46 people who contributed to WordPress Core on Trac last week: @sabernhardt (4), @SergeyBiryukov (3), @kjellr (3), @audrasjb (3), @mukesh27 (2), @rafiahmedd (2), @webmandesign (2), @thelovekesh (1), @tillkruess (1), @dlh (1), @flixos90 (1), @manfcarlo (1), @walbo (1), @nmschaller (1), @tobifjellner (1), @rehanali (1), @dshanske (1), @dharm1025 (1), @adamsilverstein (1), @kafleg (1), @chrisvanpatten (1), @kapilpaul (1), @henry.wright (1), @joyously (1), @boonebgorges (1), @Boniu91 (1), @spacedmonkey (1), @hellofromTonya (1), @azouamauriac (1), @uzumymw (1), @jffng (1), @hasanuzzamanshamim (1), @eddystile (1), @petaryoast (1), @oandregal (1), @desrosj (1), @MMDeveloper (1), @costdev (1), @pbearne (1), @johnstonphilip (1), @legendusmaximus (1), @konradyoast (1), @david.binda (1), @gadhiyaravi (1), @ravipatel (1), and @swissspidy (1).

Congrats and welcome to our 8 new contributors of the week: @rafiahmedd, @nmschaller, @azouamauriac, @uzumymw, @petaryoast, @legendusmaximus, @konradyoast, @gadhiyaravi ♥️

Core committers: @sergeybiryukov (11), @audrasjb (9), @clorith (2), @joedolson (2), @peterwilsoncc (2), @jorgefilipecosta (1), @spacedmonkey (1), and @davidbaumwald (1).

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