A Week in Core – September 13, 2021

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 September 6 and September 13, 2021.

  • 37 commits
  • 30 contributors
  • 40 tickets created
  • 4 tickets reopened
  • 25 tickets closed

As expected, WordPress 5.8.1 was released last week! Props to @desrosj and @circlecube for leading this new point releaseMinor Release A set of releases or versions having the same minor version number may be collectively referred to as .x , for example version 5.2.x to refer to versions 5.2, 5.2.1, 5.2.3, and all other versions in the 5.2 (five dot two) branch of that software. Minor Releases often make improvements to existing features and functionality. 🌟

The Core team is currently working on the next point (5.8.2) and major (5.9) releases 🛠

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

  • AccessibilityAccessibility Accessibility (commonly shortened to a11y) refers to the design of products, devices, services, or environments for people with disabilities. The concept of accessible design ensures both “direct access” (i.e. unassisted) and “indirect access” meaning compatibility with a person’s assistive technology (for example, computer screen readers). (https://en.wikipedia.org/wiki/Accessibility): Improve aria-label on networknetwork (versus site, blog) adminadmin (and super admin) Themes screen – #24442

Build/Test Tools

  • Fix CI for running tests on PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher 8.1 – #53945
  • Add more invalidinvalid A resolution on the bug tracker (and generally common in software development, sometimes also notabug) that indicates the ticket is not a bug, is a support request, or is generally invalid. IP test cases and @covers to Tests_Functions_Anonymization#53363
  • Add tests for wpdb::_real_escape()#53363
  • Fix “null to non-nullable” deprecation notice in Tests_Admin_IncludesPlugin::test_get_plugin_files_folder()#53635

Bundled Themes

  • Twenty Eleven: Set a fixed height for search form when headerHeader The header of your site is typically the first thing people will experience. The masthead or header art located across the top of your page is part of the look and feel of your website. It can influence a visitor’s opinion about your content and you/ your organization’s brand. It may also look different on different screen sizes. image is added – #40398

Code Modernization

  • Fix “passing null to non-nullable” deprecation in wpdb::_real_escape()#53635
  • Fix “passing null to non-nullable” deprecation notice in WP_Comment_Query::get_comment_ids()#53635
  • Fix “passing null to non-nullable” deprecation notices in WP_Http::normalize_cookies()#53635
  • Fix last parameter name mismatches for parent/child classes in Walker::start_el()#51553
  • Fix null to non-nullable deprecation in term_exists()#53635
  • Fix null to non-nullable deprecation in wp_privacy_anonymize_ip()#53635
  • Fix null to non-nullable deprecations in WP_Meta_Query::get_sql_for_clause()#53635
  • Fix parameter name mismatch with parent in WP_Customize_Custom_CSS_Setting::validate()#51553
  • Fix parameter name mismatches for parent/child classes in WP_Customize_Setting::sanitize()#51553
  • Fix parameter name mismatches for parent/child classes in WP_Customize_Setting::update()#51553
  • Fix parameter name mismatches for parent/child classes in WP_Image_Editor::save()#51553
  • Fix parameter name mismatches for parent/child classes in WP_List_Table::column_cb()#51553
  • Fix parameter name mismatches for parent/child classes in WP_List_Table::handle_row_actions()#51553
  • Fix parameter name mismatches for parent/child classes in WP_REST_Controller::prepare_item_for_response()#51553
  • Fix parameter name mismatches for parent/child classes in WP_Sitemaps_Provider::get_max_num_pages()#51553
  • Fix parameter name mismatches for parent/child classes in WP_Sitemaps_Provider::get_url_list()#51553
  • Fix parameter name mismatches for parent/child classes in WP_Upgrader_Skin::error()#51553
  • Fix parameter name mismatches for parent/child classes in WP_Widget::update()#51553
  • Fix reserved keyword and parameter name mismatches for parent/child classes in WP_Upgrader_Skin::feedback()#51553
  • Fix reserved keyword and parameter name mismatches for parent/child classes in Walker::end_el()#51553
  • Fix reserved keyword and parameter name mismatches for parent/child classes in Walker::start_el()#51553
  • Improve @since message in WP_List_Table::column_default()#51553

Documentation

  • Correct documentation for the in_plugin_update_message-{$file} 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.#40006

Editor

  • Revert [51748] and [51649]. They intorduced a bugbug A bug is an error or unexpected result. Performance improvements, code optimization, and are considered enhancements, not defects. After feature freeze, only bugs are dealt with, with regressions (adverse changes from the previous version) being the highest priority. where wp.editor may be replaced with wp.oldEditor in certain cases – #53762
  • Editor: fix the replacement of wp.editor with wp.oldEditor in the inline script outputted when enqueueing the old editor – #53762

External Libraries

  • Update jQuery UIUI User interface to 1.13.0-rc2 – #52163

General

  • Only use _jsonp_wp_die_handler() for JSONP 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/. requests

Site Health

  • Add Intl to the list of recommended PHP extensions – #52654
  • Site Health: Move the Imagick entry higher in the list of recommended PHP extensions – #52654

Users

  • Introduce a meta_input argument for wp_insert_user()#41950

Widgets

Props

Thanks to the 30 people who contributed to WordPress Core on Trac last week: @hellofromTonya (26), @jrf (26), @azaozz (19), @desrosj (18), @johnbillion (15), @sergeybiryukov (15), @audrasjb (2), @david.binda (2), @sabernhardt (2), @Clorith (2), @Soean (1), @davidmosterd (1), @BinaryKitten (1), @donmhico (1), @peterwilsoncc (1), @mdawaffe (1), @get_dave (1), @grantmkin (1), @fullofcaffeine (1), @lukecavanagh (1), @josklever (1), @mukesh27 (1), @zieladam (1), @andraganescu (1), @fedepia (1), @zodiac1978 (1), @mgol (1), @JavierCasares (1), @zeo (1), and @SergeyBiryukov (1).

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

Core committers: @hellofromtonya (26), @sergeybiryukov (6), @azaozz (3), and @johnbillion (2).

#5-9, #core, #week-in-core