A Week in Core – April 5, 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 March 29 and April 5, 2021.

  • 25 commits
  • 26 contributors
  • 41 tickets created
  • 5 tickets reopened
  • 34 tickets closed

Reminder: WordPress 5.7.1 is planned for April 14, 2021, so we are currently in the development cycle of the next 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..

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.

Code changes

Build/Test Tools

  • Rename some Grunt tasks to use hyphens instead of camelCase – #52625
  • Fix jQuery deprecation – #51812
  • Cleanup link-manager.zip after 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 are finished – #52579
  • Prevent the workflow for testing old branches from running on forks – #52653

Coding Standards

  • Give some variables in WP_Importer a more meaningful name – #52627
  • Use strict comparison in wp-admin/includes/class-wp-filesystem-*.php#52627
  • Move some translator comments to the correct place – #52627
  • Remove some extra whitespace in get_item_schema#52627
  • Removing unnecessary parentheses from require_once in wp-admin/options-privacy.php#52627
  • Use strict comparison in wp-admin/includes/class-core-upgrader.php#52627
  • Remove some extra whitespace in _wp_translate_postdata()#52627


  • Clarify return results for a non-existing ID in metadata functions – #51797
  • Document the import_id parameter of wp_insert_post()#52943
  • Add documentation for the ::setup_export_contents_test method used in personal data export tests – #51423
  • Fix indentation for wp_term_query->construct method parameters – #52839


  • Update the default writing prompt to match the 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. editor – #52948
  • Consolidate enqueueing block editor assets in wp-includes/default-filters.php#52920
  • Enqueue assets for format library for the block editor – #52920

External Libraries

  • Update Underscore to version 1.12.1 – #45785
  • Upgrade PHPMailer from 6.3.0 to 6.4.0 – #52822
  • Update polyfill versions in the script loader – #52854
  • Update the path to polyfill-library files in Webpack – #52854
  • Update several polyfill libraries – #52854


  • KSES: Add object-position to the list of safe CSSCSS Cascading Style Sheets. properties – #52961


  • REST API: Correct enum validation for numeric values – #52932


Thanks to the 26 people who contributed to WordPress Core on Trac last week:

@SergeyBiryukov (5), @desrosj (4), @audrasjb (3), @TimothyBlynJacobs (2), @rachelbaker (2), @gziolo (2), @yakimun (1), @Synchro (1), @hellofromTonya (1), @ellatrix (1), @donmhico (1), @ocean90 (1), @galbaras (1), @ayeshrajans (1), @tigertech (1), @Mamaduka (1), @johnbillion (1), @aristath (1), @stefanjoebstl (1), @davidkryzaniak (1), @icopydoc (1), @Joen (1), @TimoTijhof (1), @hareesh-pillai (1), @mukesh27 (1), and @whyisjake (1).

Please welcome our 3 new Core contributorsCore Contributors Core contributors are those who have worked on a release of WordPress, by creating the functions or finding and patching bugs. These contributions are done through Trac. https://core.trac.wordpress.org. of the week ♥️
@stefanjoebstl, @davidkryzaniak, and @icopydoc.

Core committers: @sergeybiryukov (11), @davidbaumwald (7), @desrosj (4), @ocean90 (1), @jorbin (1), and @gziolo (1).

#5-7-1, #5-8, #week-in-core