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

  • 16 commits
  • 19 contributors
  • 27 tickets created
  • 3 tickets reopened
  • 34 tickets closed

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

Buyild/Tests Tools

  • Bring some consistency to mocking HTTPHTTP HTTP is an acronym for Hyper Text Transfer Protocol. HTTP is the underlying protocol used by the World Wide Web and this protocol defines how messages are formatted and transmitted, and what actions Web servers and browsers should take in response to various commands. requests in unit tests – #56793, #56792
  • Use correct variable in _fake_download_url_non_200_response_code()#56793

Bundled Themes

  • Twenty Twenty-Three: Fix incorrect gradient values in Aubergine theme – #57245

Code Modernization

  • Rename parameters that use reserved keywords in phpunit/includes/spy-rest-server.php#56788
  • Rename parameters that use reserved keywords in phpunit/includes/utils.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/block-supports/elements.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/compat/mbStrlen.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/cron.php#56788, #56788
  • Rename parameters that use reserved keywords in phpunit/tests/customize/manager.php#56788

Coding Standards

  • Correct alignment in wp-includes/option.php#56791
  • Fix WPCSWPCS The collection of PHP_CodeSniffer rules (sniffs) used to format and validate PHP code developed for WordPress according to the WordPress Coding Standards. May also be an acronym referring to the Accessibility, PHP, JavaScript, CSS, HTML, etc. coding standards as published in the WordPress Coding Standards Handbook. issues in phpunit/tests/pluggable/wpMail.php#28407

Mail

  • Allow custom attachment filenames in wp_mail()#28407

Networks and Sites

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

Pings/Trackbacks

  • Remove a mention of the “Page” post type from the Discussion 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. box – #57429, #11346

Query

  • Stop priming posts twice in WP_Query#57373

Props

Thanks to the 19 people who contributed to WordPress Core on Trac last week: @sergeybiryukov (7), @jrf (7), @aristath (7), @poena (7), @justinahinon (7), @sabernhardt (3), @flixos90 (2), @johnjamesjacoby (1), @jackreichert (1), @syntaxart (1), @swissspidy (1), @ritteshpatel (1), @wildworks (1), @peterwilsoncc (1), @spacedmonkey (1), @virgar (1), @audrasjb (1), @jeremyfelt (1), and @afercia (1).

Core committers: @sergeybiryukov (11), @audrasjb (3), @spacedmonkey (1), and @johnjamesjacoby (1).

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