A Week in Core – October 31, 2022

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 24 and October 31, 2022.

  • 39 commits
  • 69 contributors
  • 43 tickets created
  • 13 tickets reopened
  • 46 tickets closed

The Core team is currently working on the 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., WP 6.1 🛠

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

  • Improve the wording of “Site Address” field description – #50629

Build/Test Tools

  • Ensure PHPCSPHP Code Sniffer PHP Code Sniffer, a popular tool for analyzing code quality. The WordPress Coding Standards rely on PHPCS. related workflows are properly marked as failed – #55652
  • Hardcode the ref for the workflow dispatch on failure – #55652
  • Introduce a workflow for testing and building default themes – #56898
  • Correctly restore the wp_installing() status in Ajax tests – #56793
  • Move dbDelta() tests to the db directory – #56793, #56782
  • Move wp_handle_comment_submission() tests to the comment directory. – #56793
  • Move wp_mail() tests to the pluggable directory. – #56793
  • Move some @covers tags in the formatting group to the class DocBlockdocblock (phpdoc, xref, inline docs)#56793
  • Move the tests for WP class methods to the wp directory – #56793, #56782
  • Move the tests for pluggable function signatures to the pluggable directory – #56793, #56782
  • Prevent wp_update_themes() from running in wp_ajax_update_theme() tests – #56793
  • Remove skipWithMultisite() and skipWithoutMultisite() from get_user_count() tests – #56793
  • Remove skipWithMultisite() from an Ajax test for attachments – #56793
  • Remove unused $user_ids property in Tests_Ajax_Autosave class – #56793
  • Rename classes in phpunit/tests/ajax/ per the naming conventions – #56793
  • Rename classes in phpunit/tests/comment/ per the naming conventions – #56793
  • Split the tests from category.php into individual test classes – #56793
  • Split the tests from multisite.php into individual test classes – #56793
  • Temporarily skip WOFF file test on PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher 8.1 – #56817

Bundled Themes

  • Twenty Twenty-Three: Merge the latest changes from 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/#56383

Coding Standards

  • Correct alignment in Tests_Ajax_Autosave::wpSetUpBeforeClass()#56793

Database

Docs

  • Add a @since note for object-fit support in safecss_filter_attr()#56855
  • Update a link to the Custom Elements spec in unsupported_valid_tag_names() unit testunit test Code written to test a small piece of code or functionality within a larger application. Everything from themes to WordPress core have a series of unit tests. Also see regression. docblock – #56792

Editor

  • Allow arrays for deprecated asset types in 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. registration – #56707
  • Correctly apply Button block styles for classic themes – #56467
  • Ensure global styles are rendered for third-party blocks – #56915
  • Update packages for 6.1 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). 3 – #56467

Help/About

  • Add link to the 6.1 release video – #56357
  • Update About section images – #56357

I18Ni18n Internationalization, or the act of writing and preparing code to be fully translatable into other languages. Also see localization. Often written with a lowercase i so it is not confused with a lowercase L or the numeral 1. Often an acquired skill.

  • Change how WP_Textdomain_Registry stores the default languages path – #39210

KSES

  • Display a notice if any of the required globals are not set – #47357

Media

  • Add object-fit to the allowed list of CSSCSS Cascading Style Sheets. properties – #56855
  • Reverts get_attached_file() changes for normalized Windows paths – #56924

Query

  • Move cache key generation to its own method – #56802

Role/Capability

  • Revert the newly added update_role function for 6.1

Themes

  • Ensure custom global styles are imported properly – #56901

Upgrade/Install

  • Update $_old_files for 6.1 – #56934

Props

Thanks to the 69 people who contributed to WordPress Core on Trac last week: @SergeyBiryukov (9), @audrasjb (7), @peterwilsoncc (5), @desrosj (5), @spacedmonkey (4), @davidbaumwald (4), @bernhard-reiter (4), @hellofromTonya (3), @mukesh27 (3), @cbravobernal (3), @pbearne (3), @oandregal (2), @scruffian (2), @aristath (2), @flixos90 (2), @poena (2), @sergeybiryukov (2), @ndiego (2), @hellofromtonya (2), @ocean90 (2), @kebbet (2), @sabernhardt (2), @ironprogrammer (2), @andraganescu (2), @andrewserong (2), @mikeschroder (2), @jorbin (2), @costdev (2), @annezazu (2), @bosconiandynamics (1), @joedolson (1), @nendeb55 (1), @jrf (1), @TJNowell (1), @TobiasBg (1), @raduiason (1), @ckanderson22 (1), @KnowingArt_com (1), @pento (1), @pbiron (1), @doctorlai (1), @manfcarlo (1), @xknown (1), @seriouslysenpai (1), @ivanjeronimo (1), @adamsilverstein (1), @ramonopoly (1), @azaozz (1), @EidolonNight (1), @admwgn (1), @critterverse (1), @joen (1), @jpantani (1), @laurlittle (1), @cbringmann (1), @kellychoffman (1), @pablohoney (1), @mreishus (1), @tobifjellner (1), @anariel-design (1), @wildworks (1), @ajlende (1), @gigitux (1), @czapla (1), @richtabor (1), @digical (1), @kafleg (1), @mikachan (1), and @gziolo (1).

Congrats and welcome to our 3 new contributors of the week: @admwgn, @gigitux, @digical ♥️

Core committers: @sergeybiryukov (21), @davidbaumwald (5), @desrosj (4), @bernhard-reiter (3), @ryelle (2), @hellofromtonya (1), @antpb (1), @peterwilsoncc (1), and @swissspidy (1).

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