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

  • 27 commits
  • 44 contributors
  • 92 tickets created
  • 7 tickets reopened
  • 85 tickets closed

You might have noticed that the activity on Core is still pretty high this week, as we entered the WordPress 5.7 Release Candidaterelease candidate One of the final stages in the version release cycle, this version signals the potential to be a final release to the public. Also see alpha (beta). cycle.

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

Administration

  • Revert the change to click event handler for fly-out submenus – #52638

Bootstrap/Load

  • Check if the error_reporting() function exists in wp-load.php#52226

Build/Tests Tools

  • Add missing `@covers` tags for files in phpunit/tests/load/#39265
  • Add missing `@covers` tags for files in phpunit/tests/link/#39265
  • Split the PHPUnit tests for PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 7.4 or higher versions below 7.0 in half, allowing them to run in parallel and reduce the overall test run duration
  • Avoid attempting to redeclare the origin remote prior to sending the test results to the test reporting 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.#51734
  • Switch back to running the PHPUnit test suite against the src directory instead of build#51734
  • Prevent the NPM/Composer caches in 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/ Actions from snowballing – #52660
  • Disable fail-fast for PHPUnit testing – #52612
  • Reset current screen after setting it to dashboard in add_submenu_page() tests – #52607
  • Introduce a CONTRIBUTING.md file – #33043
  • Stop running the restapi-jsclient tests separately – #52608
  • Add a missing word to the CONTRIBUTING.md file – #33043
  • GitHub Actions – #52645

Bundled Themes

  • Twenty Twenty-One: Improve transparent PNG logo visible on focus – #52257

Docs

  • Use correct variable in the style_loader_tag 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. DocBlockdocblock (phpdoc, xref, inline docs)#52673
  • Improve documentation for WP_Block_Type properties – #48640

External Libraries

  • Install jQuery via NPM – #52647
  • Further fix jQuery deprecations in WordPress core – #51812
  • Correct click event handling in the Thickbox library – #52618

Help/About

  • Remove extra space in the 5.7 About page copy – #52632
  • WordPress 5.7 About Page – #52347

Security

  • move Content-Security-Policy script loaders – #39941

Script Loader

  • Prevent wp_localize_script() warnings – #52534

Users

  • Use localized site title for password reset emails – #52605
  • Only include the IP address in password reset email if the user is not logged in – #34281
  • Ensure reset password emails are in the receiving user’s 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.#52605
  • Relocate the Password Reset feature to the Account Management section – #52597

Props

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

@peterwilsoncc (9), @audrasjb (6), @johnbillion (5), @SergeyBiryukov (4), @desrosj (3), @hellofromTonya (3), @jrf (3), @sephsekla (2), @chouby (2), @kraftbj (2), @johbillion (2), @adamsilverstein (2), @hedgefield (1), @davidbaumwald (1), @metalandcoffee (1), @noisysocks (1), @netweb (1), @melchoyce (1), @ad7six (1), @francina (1), @marybaum (1), @lukecarbis (1), @boonebgorges (1), @meher (1), @sarahricker (1), @ediamin (1), @webcommsat (1), @Ipstenu (1), @aristath (1), @Clorith (1), @gmariani405 (1), @carike (1), @ryelle (1), @sabernhardt (1), @poena (1), @tobifjellner (1), @jorbin (1), @gziolo (1), @iandunn (1), @ayeshrajans (1), @fijisunshine (1), @rima1889 (1), and @mukesh27 (1).

Please join me to say welcome to our 2 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 ♥️
@fijisunshine and @rima1889.

Core committers: @sergeybiryukov (12), @desrosj (7), @johnbillion (3), @peterwilsoncc (3), and @ryelle (1).

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

#5-7, #week-in-core