A Week in Core – February 1st, 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 January 25, 2021 and February 1st, 2021.

  • 57 commits
  • 93 contributors
  • 62 tickets created
  • 8 tickets reopened
  • 84 tickets closed

You might have noticed that the activity on Core increased this week. This is due to the end of the alpha cycle of WordPress 5.7 (next major releasemajor release A release, identified by the first two numbers (3.6), which is the focus of a full release cycle and feature development. WordPress uses decimaling count for major release versions, so 2.8, 2.9, 3.0, and 3.1 are sequential and comparable in scope.) and WordPress 5.6.1 (next minor) 🗓
5.7 betaBeta A pre-release of software that is given out to a large group of users to trial under real conditions. Beta versions have gone through alpha testing in-house and are generally fairly close in look, feel and function to the final product; however, design changes often occur as part of the process. 1 is planned for tomorrow and 5.6.1 is planned on Wednesday 3, 2021 🚀

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


  • Remove italic text to improve readability – #47327
  • Accommodate long translations of user roles in the “Role” list table column – #52184
  • Standardize colors used in CSSCSS Cascading Style Sheets. to a single palette – #49999
  • Respect the prefers-reduced-motion media query for update icon spinner animations – #52263

Application Passwords

  • Introduce fine grained capabilities – #51703
  • Introduce introspection endpoint – #52275
  • Improve validation and sanitization of the application name – #51941

Build/Test Tools

  • Replace node-sass with Dart Sass – #51763

Bundled Themes

  • Twenty Twenty-One: Correct 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. name in twenty_twenty_one_get_starter_content() DocBlockdocblock (phpdoc, xref, inline docs)#52410
  • Twenty Twenty-One: Correct colors for the Menu button – #52374
  • Twenty Twenty: Remove aria-expanded on search modal close button – #52355


  • Introduce a method for commenters to opt-in to receiving an email notification when their moderated comment gets approved – #33717


  • Introduce a dynamic filter for the content of a single 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.#46187
  • Update @wordpress npm packages – #52334
  • Add enableCustomSpacing#51760


  • Switch a comment in WP_Media_List_Table::prepare_items() to multi-line format, per the documentation standards – #52025
  • Revert documentation change for wp_get_attachment_metadata()#52196


  • Enable filtering the back to blog link – #35449


  • Make sure the SMTP class is only required once if a 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 requires wp-includes/class-smtp.php directly – #52369


  • Remove unused refresh from _requery – #50025
  • Remove caching from filter by date in media library – #50025
  • Ensure that wp_get_attachment_metadata can return values from the global $post, if available – #52196


  • Add sticky footer to avoid duplicate save buttons – #51631


  • Rotate the Updates icon in the adminadmin (and super admin) bar when performing inline updates on the Plugins screen – #51476

Posts, Post Types

  • Introduce new functions for determining if a post has a parent (has_post_parent()) and to fetch the post parent (get_post_parent()) – #33045
  • Introduce “Filter by date” and “Filter by categoryCategory The 'category' taxonomy lets you group posts / content together that share a common bond. Categories are pre-defined and broad ranging.” as post type and 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. labels, respectively – #42421


  • Ensure that exported user data reports can’t be found with directory listings – #52299

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 batch image editing endpoints – #52192
  • Refactor rest_validate_value_from_schema into separate validation functions per-type – #52375
  • Introduce modified_before and modified_after query parameters for the posts endpoints – #50617

RevisionsRevisions The WordPress revisions system stores a record of each saved draft or published update. The revision system allows you to see what changes were made in each revision by dragging a slider (or using the Next/Previous buttons). The display indicates what has changed in each revision.

  • Address PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher/JSJS JavaScript, a web scripting language typically executed in the browser. Often used for advanced user interfaces and behaviors. errors when viewing autosave on imported posts – #31249
  • Generate correct number of columns in wp_text_diff#25473


  • Add max-image-preview:large directive by default – #51511


  • Allow short-circuiting the wp_update_https_detection_errors() process – #47577
  • Improve accuracy in messaging about HTTPSHTTPS HTTPS is an acronym for Hyper Text Transfer Protocol Secure. HTTPS is the secure version of HTTP, the protocol over which data is sent between your browser and the website that you are connected to. The 'S' at the end of HTTPS stands for 'Secure'. It means all communications between your browser and the website are encrypted. This is especially helpful for protecting sensitive data like banking information. support – #47577

Site Health

  • Update the language around how PHP should be updated – #52327
  • Update php update strings to not overpromise performance – #52327
  • Only run the version checks on the main site – #52135


  • Declare and document the sort and args properties of the WP_Taxonomy class – #52142


  • Display correct message about the current version in the admin footer – #51976
  • Allow WordPress sites to opt-in to development releases – #51978


  • Enable admins to send users a reset password link – #34281


Thanks to everyone who contributed to WordPress Core on Trac last week:

@audrasjb (16), @SergeyBiryukov (10), @xkon (7), @hellofromTonya (6), @Mista-Flo (5), @afercia (5), @johnbillion (5), @adamsilverstein (5), @TimothyBlynJacobs (4), @sabernhardt (4), @whyisjake (4), @johnjamesjacoby (3), @joedolson (3), @timothyblynjacobs (3), @afragen (2), @kburgoine (2), @maxpertici (2), @garrett-eclipse (2), @DrewAPicture (2), @Clorith (2), @flixos90 (2), @peterwilsoncc (3), @poena (2), @teamdnk (2), @birgire (2), @hedgefield (2), @paaljoachim (2), @wonderboymusic (2), @knutsp (2), @mdwolinski (1), @cfinke (1), @melchoyce (1), @claytoncollie (1), @chanthaboune (1), @dilipbheda (1), @isabel_brison (1), @yakimun (1), @talldanwp (1), @youknowriad (1), @oellin (1), @mukesh27 (1), @freewebmentor (1), @lucasbustamante (1), @alexstine (1), @francina (1), @karmatosed (1), @engahmeds3ed (1), @notlaura (1), @danfarrow (1), @Boniu91 (1), @drw158 (1), @ravipatel (1), @Joen (1), @ibdz (1), @jeremyfelt (1), @zodiac1978 (1), @mehulkaklotar (1), @aaribaud (1), @Ipstenu (1), @dd32 (1), @gziolo (1), @gunnard (1), @eventualo (1), @ericlewis (1), @JoshuaWold (1), @iseulde (1), @ramiy (1), @sebastianpisula (1), @desrosj (1), @ajlende (1), @manzoorwanijk (1), @noisysocks (1), @pbiron (1), @azaozz (1), @nicolalaserra (1), @ebinnion (1), @Chaton666 (1), @nosolosw (1), @kebbet (1), @jeffr0 (1), @swissspidy (1), @mrahmadawais (1), @jdgrimes (1), @obenland (1), @Monika (1), @imath (1), @helen (1), @joostdevalk (1), @tweetythierry (1), @westonruter (1), @pinkalbeladiya (1), @davidbaumwald (1) and @greatsaltlake (1)

Please welcome our 8 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 ♥️
@teamdnk, @oellin, @engahmeds3ed, @aaribaud, @gunnard, @nicolalaserra, @pinkalbeladiya and @greatsaltlake.

Core committers: @sergeybiryukov (12), @whyisjake (5), @johnbillion (4), @antpb (4), @joedolson (4), @timothyblynjacobs (4), @adamsilverstein (3), @flixos90 (3), @ryelle (2), @noisysocks (2) and @peterwilsoncc (1).

Please note: it only includes commits with proper props attribution.

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