A Week in Core – March 13, 2023

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 6 and March 13, 2023.

  • 48 commits
  • 62 contributors
  • 47 tickets created
  • 8 tickets reopened
  • 68 tickets closed

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

Build/Test Tools

  • Use assertSame() in Tests_Comment::test_update_comment_from_privileged_user_by_privileged_user() – #56800
  • Use assertSame() in WP_Date_Query tests – #56800
  • Add 6.2 branchbranch A directory in Subversion. WordPress uses branches to store the latest development code for each major release (3.9, 4.0, etc.). Branches are then updated with code for any minor releases of that branch. Sometimes, a major version of WordPress and its minor versions are collectively referred to as a "branch", such as "the 4.0 branch". to the workflow for testing branches
  • Add the workflow_dispatch event to the performance workflow – #57687
  • Check if the Docker is available when running npm run env:start#51898
  • Fix cleaning of old CSSCSS Cascading Style Sheets. files in wp-includes/blocks/*#57891
  • Remove all previously built files when running clean:files#47749
  • Test the new performance workflow regularly – #57687
  • Update several 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 – #57572
  • Update the URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org for logging performance workflows – #57687
  • Prevent registering the same private JavaScriptJavaScript JavaScript or JS is an object-oriented computer programming language commonly used to create interactive effects within web browsers. WordPress makes extensive use of JS for a better user experience. While PHP is executed on the server, JS executes within a user’s browser. https://www.javascript.com/. 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. twice – #57795
  • Add a 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. for register_block_style_handle() with an RTL 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.#56797
  • Adjust the expected mime type for WOFF fonts on PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher 8.1.12+ – #56817
  • Improve Tests_Media::test_wp_generate_attachment_metadata_doesnt_generate_sizes_for_150_square_image() – #56800, #57370
  • Move some data providers in Tests_Functions next to the tests they are used in – #56793
  • Use assertSame() in Tests_Theme_wpThemeJson – #56800, #57621
  • Add unit tests for Gallery blocks – #55571

Bundled Themes

  • Add missing trailing / in HelpHub links – #57689, #57726
  • Bump version numbers for WordPress 6.2 – #57689
  • Improve various globals documentation, as per docblockdocblock (phpdoc, xref, inline docs) standards – #56792, #57069

Cache API

  • Introduce new queries cache groups – #57625
  • Make network-queries and site-queries global cache groups – #57625

Coding Standards

  • Bring some consistency to wp_validate_redirect() existence checks – #57839
  • Use strict comparison in wp-admin/includes/taxonomy.php#57859


  • Prime post caches in WP_Comments_List_Table – #57802


  • Save a call to wp_timezone in mysql2date – #57705


  • Add missing 6.2.0 since mention in get_the_privacy_policy_link()#56792, #56345
  • Add security warning in remove_query_arg() docblock to make it consistent with add_query_arg()#57885, #56792
  • Improve some DocBlock formatting in wp-includes/class-wp-xmlrpc-server.php#57840


  • Add more details to template descriptions – #57892
  • Combine Date template description translations – #57892
  • Move variables to where used in wp_render_layout_support_flag – #57815
  • Update wordpress packages for 6.2 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. 5 – #57471
  • Update wordpress packages for 6.2 RC1 – #57471
  • Revert r54860#57630, #55437

External Libraries

  • Update jQuery to 3.6.4 – #57324

Filesystem API

  • Return correct error data from copy_dir() if the directory listing failed – #57907


  • Restore consistent quotes in _make_web_ftp_clickable_cb()#53290, #56444

HTMLHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. API

  • Document shorthand usage of the next_tag() – #57863, #57575
  • Fix finding RCData and Script tagtag A directory in Subversion. WordPress uses tags to store a single snapshot of a version (3.6, 3.6.1, etc.), the common convention of tags in version control systems. (Not to be confused with post tags.) closers – #57852, #57575


  • Update copy & style for About page and subpages – #57477


  • Revert wp_ajax_save_attachment_updated hook – #23148
  • Improve display of cropped image in media editor – #55070

Networks and Sites

  • Replace get_blog_details with get_site#57571


Thanks to the 62 people who contributed to WordPress Core on Trac last week: @costdev (17), @peterwilsoncc (10), @hellofromTonya (10), @mukesh27 (9), @sergeybiryukov (7), @spacedmonkey (6), @audrasjb (6), @ankitmaru (5), @azaozz (4), @ironprogrammer (4), @flixos90 (4), @desrosj (3), @gziolo (3), @mamaduka (3), @robinwpdeveloper (3), @tillkruess (2), @isabel_brison (2), @antonvlasenko (2), @ntsekouras (2), @dmsnell (2), @sabernhardt (2), @zieladam (2), @mreishus (1), @TobiasBg (1), @thomasplevy (1), @roytanck (1), @mkox (1), @razthee007 (1), @poena (1), @cnspecialcolor (1), @pento (1), @hasanuzzamanshamim (1), @bgoewert (1), @viralsampat (1), @andy786 (1), @antpb (1), @petitphp (1), @annezazu (1), @kebbet (1), @bph (1), @afragen (1), @pravinparmar2404 (1), @owi (1), @skithund (1), @kapilpaul (1), @adarshposimyth (1), @dhrumilk (1), @joemcgill (1), @andrewserong (1), @davidbaumwald (1), @joen (1), @greenshady (1), @glendaviesnz (1), @jameskoster (1), @marybaum (1), @sereedmedia (1), @jpantani (1), @laurlittle (1), @richtabor (1), @markoserb (1), @fcoveram (1), and @sanketchodavadiya (1).

Congrats and welcome to our 5 new contributors of the week: @razthee007, @cnspecialcolor, @owi, @adarshposimyth, @dhrumilk ♥️

Core committers: @hellofromtonya (13), @sergeybiryukov (9), @audrasjb (6), @spacedmonkey (5), @desrosj (5), @azaozz (2), @davidbaumwald (2), @zieladam (1), @ryelle (1), @jorbin (1), @joemcgill (1), @peterwilsoncc (1), and @adamsilverstein (1).

#6-2, #core, #week-in-core