A Week in Core – January 2, 2022

Happy new year everyone! ♥️ 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 December 26 and January 2, 2022.

  • 9 commits
  • 10 contributors
  • 25 tickets created
  • 0 tickets reopened
  • 6 tickets closed

It was of course a pretty quiet week 🙂

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

Code Modernization

  • Rename parameters that use reserved keywords in phpunit/includes/class-wp-unittest-factory-for-attachment.php#56788
  • Rename parameters that use reserved keywords in phpunit/includes/class-wp-unittest-factory-for-thing.php#56788
  • Rename parameters that use reserved keywords in phpunit/includes/functions.php#56788

Coding Standards

  • Add visibility to Tests_Dependencies::test_enqueue_before_register()#56791



  • Update copyright year to 2023 in license.txt and bundled themes

Networks and Sites

  • Mark required fields as such in New User Form – #38460


  • Bring some consistency to creating and updating objects in factory classes – #56793
  • Update the terminology used for 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. names in tests_add_filter()#56793


Thanks to the 10 people who contributed to WordPress Core on Trac last week: @sergeybiryukov (4), @jrf (4), @aristath (3), @poena (3), @justinahinon (3), @sabernhardt (2), @jackreichert (1), @flixos90 (1), @afercia (1), and @ramon-fincken (1).

Core committers: @sergeybiryukov (8), and @audrasjb (1).

#6-2, #core, #week-in-core