A Week in Core – December 26, 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 December 19 and December 26, 2022.

  • 13 commits
  • 21 contributors
  • 33 tickets created
  • 3 tickets reopened
  • 16 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

Build/Test Tools

  • Correct a flaky wp_nonce_field() test – #56793

Code Modernization

  • Rename parameters that use reserved keywords in phpunit/includes/class-wp-test-stream.php#56788
  • Rename parameters that use reserved keywords in phpunit/includes/abstract-testcase.php#56788
  • Rename parameters that use reserved keywords in wp-includes/user.php#56788
  • Rename parameters that use reserved keywords in wp-includes/theme.php#56788
  • Rename parameters that use reserved keywords in wp-includes/template.php#56788
  • Rename parameters that use reserved keywords in wp-includes/taxonomy.php#56788

External Libraries

  • Update jQuery to 3.6.3 – #57324

I18Ni18n Internationalization, or the act of writing and preparing code to be fully translatable into other languages. Also see localization. Often written with a lowercase i so it is not confused with a lowercase L or the numeral 1. Often an acquired skill.

  • Change how WP_Textdomain_Registry caches translationtranslation The process (or result) of changing text, words, and display formatting to support another language. Also see localization, internationalization. information – #57116

Themes

  • Alphabetize the properties list in WP_Theme_JSON::VALID_STYLES for consistency – #57354
  • Adds outline CSSCSS Cascading Style Sheets. properties support in theme.jsonJSON JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML.#57354

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

  • Adds BC-layer /library/Requests.php file – #57341

Menus

  • Account for legacy calls to nav_menu_css_class 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.#56926, #28620

Props

Thanks to the 21 people who contributed to WordPress Core on Trac last week: @sergeybiryukov (8), @jrf (7), @poena (6), @justinahinon (6), @aristath (6), @ironprogrammer (2), @mukesh27 (2), @peterwilsoncc (2), @hellofromTonya (2), @dd32 (1), @NekoJonez (1), @costdev (1), @bjorsch (1), @ocean90 (1), @audrasjb (1), @onemaggie (1), @johnbillion (1), @mgol (1), @naeemhaque (1), @TobiasBg (1), and @azaozz (1).

Congrats and welcome to our new contributor of the week: @naeemhaque ♥️

Core committers: @sergeybiryukov (8), @peterwilsoncc (2), @hellofromtonya (2), and @swissspidy (1).

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