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

  • 45 commits
  • 70 contributors
  • 66 tickets created
  • 10 tickets reopened
  • 48 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

Administration

  • Use a consistent capitalization in Privacy Policy related strings – #57226

Application Passwords

  • Disable spellcheck for password field – #56763

Build/Tests Tools

  • Add unique messages to assertions for attachment filenames in wp_mail()#28407
  • Correct additional_field_get_callback() parameters in some REST APIREST API The REST API is an acronym for the RESTful Application Program Interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. It is how the front end of an application (think “phone app” or “website”) can communicate with the data store (think “database” or “file system”) https://developer.wordpress.org/rest-api/. tests – #56793
  • Use wp_recursive_ksort() in WP_Theme_JSON_Resolver tests – #56793

Bundled Themes

  • Fix Separator blockBlock Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. “Dots” style variation on various themes – #56114
  • Twenty Twenty-One: Disable spellcheck for post password field – #56763
  • Twenty Twenty-One: Fix obsolete navigation block styles for better Global Styles support – #53220
  • Twenty Twenty-One: Fix obsolete navigation block styles for better Global Styles support – #53220
  • Twenty Twenty-One: Revert [55088]#53220

Code Modernization

  • 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
  • Rename parameters that use reserved keywords in phpunit/tests/hooks/addFilter.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/kses.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/option/themeMods.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/pluggable/signatures.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/post.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/rest-api.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/rest-api/rest-*-controller.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/shortcode.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/widgets/wpWidgetMedia.php#56788
  • Rename parameters that use reserved keywords in wp-includes/functions.php#56788
  • Use correct property in IXR_Message::tag_open()#56790

Docs

  • Further clarify the wp_ajax_save_attachment 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. parameters description – #23148
  • Remove unused post_modified and post_modified_gmt params from wp_insert_post() docblockdocblock (phpdoc, xref, inline docs)#57473, #56792

Editor

  • Add inert attribute polyfill – #57492
  • Allow block pattern categories to have descriptions – #57478
  • Update packages to unblock lazy-loading issues – #56930
  • Updated the bundled block pattern categories – #57479

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.

  • Allow installing new translations when changing the user localeLocale A locale is a combination of language and regional dialect. Usually locales correspond to countries, as is the case with Portuguese (Portugal) and Portuguese (Brazil). Other examples of locales include Canadian English and U.S. English. on the profile page – #38664

Login and Registration

  • Disable spellcheck for password fields – #56763

Media

  • Add an action hook on wp_ajax_save_attachment()#23148
  • Allow for customization of lazy-loading featured images – #57490
  • Prevent hidden overflow on uploaded image names – #54812

Menus

  • Hide the “Remove selected item” from Menus screen when no item is selected – #56942

Permalinks

  • Remove floating on Permalinks settings screen – #56673, #55498

Plugins

  • Add visible focus on pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party modal close button – #56604

Posts, Post Types

  • Increase the input field’s width in the Slug metaboxMetabox A post metabox is a draggable box shown on the post editing screen. Its purpose is to allow the user to select or enter information in addition to the main post content. This information should be related to the post in some way.#16346
  • Use persistent caching in get_adjacent_post function – #41131

Quick/Bulk Edit

  • Add an action hook on bulk_edit_posts()#28112

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 placeholder from WP_Term_Query cache key – #57298

Themes

  • Introduce wp_theme_has_theme_json() for public consumption – #56975
  • Revert caching from r55086#56975

Upgrade/Install

  • Disable spellcheck for password field on Setup screen – #56763

Props

Thanks to the 70 people who contributed to WordPress Core on Trac last week: @poena (15), @sergeybiryukov (15), @jrf (14), @aristath (14), @justinahinon (13), @audrasjb (10), @costdev (6), @mukesh27 (5), @sabernhardt (4), @desrosj (3), @spacedmonkey (3), @gainesm (2), @fosuahmed (2), @flixos90 (2), @mamaduka (2), @dziudek (2), @Joen (2), @johnbillion (2), @hellofromTonya (2), @ocean90 (2), @helen (2), @kebbet (2), @peterwilsoncc (2), @joedolson (2), @mcsf (1), @swissspidy (1), @dshanske (1), @Spaceshipone (1), @nithi22 (1), @sarathar (1), @aravindajith (1), @ntsekouras (1), @joemcgill (1), @dd32 (1), @boonebgorges (1), @Otto42 (1), @dmsnell (1), @sumitsingh (1), @oandregal (1), @afragen (1), @alexstine (1), @azaozz (1), @sc0ttkclark (1), @barryceelen (1), @mrasharirfan (1), @umesh84 (1), @amin7 (1), @esratpopy (1), @multidots1896 (1), @ABTOP (1), @nacin (1), @abitofmind (1), @tyxla (1), @helgatheviking (1), @Mte90 (1), @afercia (1), @itowhid06 (1), @hellofromtonya (1), @pento (1), @mensmaximus (1), @dperonne (1), @viralsampat (1), @jeawhanlee (1), @griffinjt (1), @bradyvercher (1), @pputzer (1), @antpb (1), @bjorsch (1), @kraftbj (1), and @mehulkaklotar (1).

Congrats and welcome to our 5 new contributors of the week: @fosuahmed, @amin7, @esratpopy, @ABTOP, @abitofmind ♥️

Core committers: @sergeybiryukov (18), @audrasjb (15), @youknowriad (3), @joedolson (2), @flixos90 (2), @hellofromtonya (2), @spacedmonkey (2), and @swissspidy (1).

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