A Week in Core – November 1, 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 October 25 and November 1, 2021.

  • 33 commits
  • 38 contributors
  • 44 tickets created
  • 5 tickets reopened
  • 34 tickets closed

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

Worth noting that each feature slated to the 5.9 milestone has been validated, that the Twenty Twenty-Two Theme development is on the way, and the 5.9 bug scrub schedule has been published 🚀

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


  • Hide mobile menu on focusout – #53587

Application Passwords

  • Add end-to-end (e2e) tests – #54241
  • Various docblockdocblock (phpdoc, xref, inline docs) improvements – #53399, #42790

Build/Test Tools

  • Adjust SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/. notifications for scheduled and workflow_dispatch events – #53363
  • Escape $ within commit messages for $variables#53363
  • Ignore “null to nullable” deprecations for select tests – #53635
  • Use correct URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org for a GitHubGitHub GitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. https://github.com/ Action workflow run – #53363
  • Some test improvements for clean_dirsize_cache() tests: – #52241, #53363

Coding Standards

  • Correct alignment in WP_Site_Health::get_test_update_temp_backup_writable()#51857, #53359
  • Correct alignment in wp_enqueue_global_styles()#53359
  • Rename the $process variable to $processed_response for clarity in WP_Http_Streams::request()#53359


  • Improve the docblocks for various date and time related functions – #53399, #28992, #40653


  • Add a @since note for the rest_namespace argument of register_post_type() and register_taxonomy()#53399
  • Add a @since note to WP_REST_Post_Types_Controller::get_item_schema() for the supports and visibility properties – #53399
  • Document the usage of some globals in wp-includes/script-loader.php#53399
  • Further update the debug_information 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. description per the documentation standards – #53399
  • Miscellaneous docblock improvements – #53399
  • Miscellaneous docblock improvements – #53399


  • Include post’s title in editor title element – #52314


  • Remove role="navigation" from nav elements – #54054

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.

  • add suggested filename support to download_url()#38231


  • Add options for restricting tags based upon their attributes – #54261


  • Close attachment details modal with esc key – #53924
  • Remove deprecated click function in media uploader – #53261

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

  • Add visibility information to the Post Types controller – #54055
  • Send a 500 status code when 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. encoding fails – #53056
  • Support custom namespaces for custom post types – #53656
  • Support custom namespaces for taxonomies – #54267


  • Add support for capability queries in WP_User_Query#16841

Script Loader

  • Correct the number of arguments passed to the closure in enqueue_block_styles_assets()#54323

Site Health

  • Correct and improve the documentation for the debug_information hook – #53399
  • Internationalizes count in the info section headings – #54341


  • Use a text-based button to select location – #53311


Thanks to the 38 people who contributed to WordPress Core on Trac last week: @swissspidy (5), @sabernhardt (4), @spacedmonkey (4), @peterwilsoncc (3), @costdev (3), @dd32 (2), @jrf (2), @ocean90 (2), @AmethystAnswers (1), @sourovroy (1), @kaneva (1), @vondelphia (1), @boonebgorges (1), @scribu (1), @lgladdly (1), @SergeyBiryukov (1), @aristath (1), @shimon246 (1), @gziolo (1), @cklosows (1), @johnjamesjacoby (1), @kapilpaul (1), @jorbin (1), @desrosj (1), @lalitjalandhar (1), @hermpheus (1), @pento (1), @isabel_brison (1), @kevin940726 (1), @juhise (1), @justinahinon (1), @mukesh27 (1), @hellofromTonya (1), @audrasjb (1), @alexstine (1), @skierpage (1), @johnbillion (1), and @psrpinto (1).

Congrats and welcome to our 5 new contributors of the week: @shimon246, @lalitjalandhar, @sourovroy, @vondelphia, and @kaneva ♥️

Core committers: @sergeybiryukov (9), @joedolson (6), @johnbillion (5), @timothyblynjacobs (4), @hellofromtonya (3), @desrosj (3), @pento (1), @swissspidy (1), and @johnjamesjacoby (1).

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