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

  • 43 commits
  • 50 contributors
  • 44 tickets created
  • 3 tickets reopened
  • 41 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

  • Fix an incorrect inline comment in Tests_Ajax_wpAjaxReplytoComment#57452
  • Move the test for wp_save_image_file() with a GD resource to a more appropriate place – #56793
  • Use more specific assertions in image saving tests – #56793

Bundled Themes

  • Add Mastodon domains for menu item icons – #57293, #49099
  • Twenty Twenty-Three: Fix incorrect gradient values in Aubergine theme – #57245

Code Modernization

  • Fix a jQuery Migrate deprecation in wpdialog#56830
  • Rename parameters that use reserved keywords in phpunit/tests/cron.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/customize/manager.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/customize/nav-menus.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/customize/setting.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/file.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/formatting/sanitizeTextField.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/formatting/sanitizeTrackbackUrls.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/functions/deprecated.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/functions/wpListFilter.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/functions/wpListPluck.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/functions/wpListSort.php#56788

Date/Time

  • Prevent errors in current_time() when using timestamp and no value for gmt_offset#57035

Docs

  • Add a missing quote to wp_is_large_network() Docblockdocblock (phpdoc, xref, inline docs) params – #57468, #56792
  • Align spelling with American English – #56811, #56792
  • Align spelling with American English – #56811, #56792
  • Align spelling with American English – #56811, #56792
  • Correct the type of the $user_id parameter in wp_set_password action – #57436
  • Improve wp_style_add_data() function description – #57466, #56792
  • Remove unused post_modified and post_modified_gmt params from wp_insert_post() docblock – #57473, #56792
  • Typo correction in POP3 class send_cmd() inline docsinline docs (phpdoc, docblock, xref)#57449, #56792
  • Use third-person singular verbs for Script Loader related function descriptions, as per docblocks standards – #56792
  • Various docblock fixes in Multisitemultisite Used to describe a WordPress installation with a network of multiple blogs, grouped by sites. This installation type has shared users tables, and creates separate database tables for each blog (wp_posts becomes wp_0_posts). See also network, blog, site WordPress 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. related functions – #56792

Editor

  • Update packages to unblock lazy-loading issues – #56930

Embeds

  • Update Mixcloud oEmbed URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org to the new domain – #57376

Formatting

  • Improve performance of esc_url()#22951

General

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

  • Correct the documentation for the https_ssl_verify and https_local_ssl_verify filters – #54803
  • Correct the name of a 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. referenced in the docs for wp_redirect() and wp_safe_redirect()#57464
  • Use correct class reference for Requests’ HTTP Proxy in WP_Http::request()#54504

Help/About

  • Improve comments keyboard shortcuts HelpHub links – #56920

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.

  • Initialize WP_Locale array properties – #57427

Menus

  • Compare $menu_item->ID and $menu_item->menu_item_parent as strings and avoid moidifying them. Plugins may change the ID to a string – #57169

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

Themes

  • Add opt-in Appearance Tools support for Classic Themes – #57460

Upgrade/Install

  • Revert a temporary conditional for testing the Rollbacks feature project – #56057, #57375, #57386

Users

  • Add an action hook on wp_set_password()#57436

Props

Thanks to the 50 people who contributed to WordPress Core on Trac last week: @sergeybiryukov (16), @jrf (12), @aristath (11), @poena (11), @justinahinon (11), @audrasjb (6), @kebbet (5), @peterwilsoncc (5), @sabernhardt (4), @mukesh27 (3), @azaozz (3), @lanacodes (2), @costdev (2), @ironprogrammer (2), @TobiasBg (1), @johnbillion (1), @schlessera (1), @markjaquith (1), @spacedmonkey (1), @dshanske (1), @danielbachhuber (1), @elifvish (1), @tyxla (1), @hellofromTonya (1), @NekoJonez (1), @dennisatyoast (1), @robinwpdeveloper (1), @wildworks (1), @jeremyfelt (1), @Nick_theGeek (1), @Chouby (1), @afragen (1), @chesio (1), @mamaduka (1), @nitman43 (1), @manojkpatil (1), @ashrafulsarkar (1), @pbiron (1), @matclayton (1), @ayeshrajans (1), @mcaskill (1), @tanner m (1), @triumvirate (1), @rryyaanndd (1), @ianbelanger (1), @mehulkaklotar (1), @Chrystl (1), @manooweb (1), @david.binda (1), and @virgar (1).

Congrats and welcome to our 6 new contributors of the week: @lanacodes, @nitman43, @manojkpatil, @matclayton, @triumvirate, @Chrystl ♥️

Core committers: @audrasjb (21), @sergeybiryukov (16), @flixos90 (2), @johnbillion (2), @azaozz (1), @hellofromtonya (1).

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