A Week in Core – July 10, 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 July 3 and July 10, 2023.

  • 80 commits
  • 100 contributors
  • 77 tickets created
  • 10 tickets reopened
  • 58 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


  • Adjust the “No private directive present in cache control when user not logged in” test so the assertions won’t fail if the headers don’t contain a cache-control key at all – #21938
  • Administration: CSSCSS Cascading Style Sheets. selector correction for list table checkboxes – #21516


  • Incorrect condition in wp_check_php_mysql_versions()#58201

Build/Test Tools

  • Prevent 404 errors in the E2E tests – #58777
  • Suppress E2E test suite SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/. notifications – #58779
  • Fix dynamic property deprecation warning in object cache drop-in – #58736
  • Fix incorrect hook being used to separate Server-Timing metrics in performance tests – #58674

Bundled Themes

  • Twenty Fifteen: Reintroduce HTML5 Shiv – #56699
  • Twenty Seventeen: Reintroduce HTML5 Shiv – #56699
  • Twenty Seventeen: Use wp_register_script() to register HTML5 Shiv script – #56699
  • Twenty Thirteen: Reintroduce HTML5 Shiv – #56699
  • Twenty Twenty-One: Add b and strong elements to editor styles – #58383
  • Twenty Twenty-One: Replace the experimental link color theme support – #58702
  • Twenty Twenty-Three: Add a border to Quote 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.#57506
  • Twenty Twenty-Three: Allow changing Site Title font size in Marigold and Whisper styles – #57971
  • Twenty Twenty-Three: Fix Separator Block default styling – #57667
  • Twenty Twenty: Fix left margin in Latest Posts & Latest Comments blocks – #58396

Coding Standards

  • Add missing newline at the end of wp-admin/user.php#58194
  • Use strict comparison in wp-includes/class-wp-simplepie-file.php#57839
  • Use strict comparison in wp-includes/class-wp-tax-query.php#57839
  • Use strict comparison in wp-includes/class-wp-user-query.php#57839
  • Use strict comparison in wp-includes/class-wp-user.php#57839


  • Correct the formatting of various 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. documentation – #57840
  • Docblockdocblock (phpdoc, xref, inline docs) correction in WP_REST_Attachments_Controller::upload_from_data()#57840
  • Document the return value of wp_check_php_version() using hash notation – #57840
  • Fix incorrect type for $crop param is various WP_Image_Editor classes and methods – #58271
  • Replace multiple single line comments with multi-line comments – #58459
  • Update link to MovableType docs (on Internet Archive) – #58760
  • Update link to MovableType documentation – #58760
  • Use third-person singular verbs in various function descriptions of load.php, as per docblocks standards – #57840


  • Enqueue commands package styles – #58667
  • Ensure blocks registered within parent theme are available when child themeChild theme A Child Theme is a customized theme based upon a Parent Theme. It’s considered best practice to create a child theme if you want to modify the CSS of your theme. https://developer.wordpress.org/themes/advanced-topics/child-themes/. is activated – #57566
  • Fix font paths in iframed editor – #58672
  • Fix layout of no-js state in site editor – #56228
  • Normalize paths in register_core_block_style_handles()#58711
  • Typo correction in Author block template description
  • adds deprecation for deleted block_core_navigation_submenu_build_css_colors function – #58623
  • fix comment indentation – #58586
  • opt out of Navigation fallback – #58750
  • rename sync_status and move it to top level – #58677
  • update npm packages with bugbug A bug is an error or unexpected result. Performance improvements, code optimization, and are considered enhancements, not defects. After feature freeze, only bugs are dealt with, with regressions (adverse changes from the previous version) being the highest priority. fixes and blessed tasks – #58701
  • update npm packages with bug fixes and blessed tasks – #58745
  • update string incorrectly marked for translationtranslation The process (or result) of changing text, words, and display formatting to support another language. Also see localization, internationalization. in Chrome – #58716
  • update template titles in browse mode – #58713

Filesystem 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.

  • Ensure wp_tempnam() does not produce file names longer than 255 characters as this is the limit on most filesystems – #35755


  • Compare values as strings in WP_List_Util::filter() and ::sort_callback()#57839
  • Fix an error introduced in [56179]
  • Increase the minimum supported version of PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher to 7.0.0 – #57345
  • Revert strict comparison in WP_List_Util for now – #57839
  • add nonce for block theme preview activation – #58712
  • fix botched file move in r56199#58712

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

  • Fix a fatal error when processing malformed document with unclosed attribute – #58637

HTTPHTTP HTTP is an acronym for Hyper Text Transfer Protocol. HTTP is the underlying protocol used by the World Wide Web and this protocol defines how messages are formatted and transmitted, and what actions Web servers and browsers should take in response to various commands. API

  • Declare a few default parameters in WP_Http_Curl and WP_Http_Streams#52622


  • Add Help text for Rollback feature – #58199

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.

  • Move translator comments inside sprintf for tagline field description – #57675


  • Avoid programmatically created images within post content from incorrectly receiving fetchpriority="high"#58235
  • Ensure custom headerHeader The header of your site is typically the first thing people will experience. The masthead or header art located across the top of your page is part of the look and feel of your website. It can influence a visitor’s opinion about your content and you/ your organization’s brand. It may also look different on different screen sizes. image 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.) supports loading optimization attributes – #58680
  • Ensure that large images before the main query loopLoop The Loop is PHP code used by WordPress to display posts. Using The Loop, WordPress processes each post to be displayed on the current page, and formats it according to how it matches specified criteria within The Loop tags. Any HTML or PHP code in the Loop will be processed on each post. https://codex.wordpress.org/The_Loop. are counted towards lazy-loading threshold – #58635
  • Ensure that the image widgetWidget A WordPress Widget is a small block that performs a specific function. You can add these widgets in sidebars also known as widget-ready areas on your web page. WordPress widgets were originally created to provide a simple and easy-to-use way of giving design and structure control of the WordPress theme to the user. supports loading optimization attributes – #58704
  • Fix responsive views in image editor – #58692

Options, MetaMeta Meta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress. APIs

  • Check if the gmt_offset value is numeric in sanitize_option()#57728

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/.

  • Correct some filter docblocks – #57752

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.

  • return existing autosave after saving with unchanged data – #58739


  • Improved caching in wp_theme_has_theme_json()#58758


  • Remove password reset links when the feature is not allowed for a specific user – #58194


Thanks to the 100 (!) people who contributed to WordPress Core on Trac last week:

@audrasjb (22), @costdev (21), @poena (11), @mukesh27 (10), @sabernhardt (10), @sergeybiryukov (9), @spacedmonkey (8), @afercia (5), @wildworks (4), @peterwilsoncc (4), @flixos90 (4), @aristath (4), @thekt12 (3), @oglekler (3), @ramonopoly (3), @westonruter (3), @jrf (2), @azaozz (2), @mrinal013 (2), @kebbet (2), @nithins53 (2), @robinwpdeveloper (2), @joemcgill (2), @hellofromTonya (2), @masteradhoc (1), @knutsp (1), @thunderdw (1), @samiamnot (1), @JavierCasares (1), @dingo_d (1), @chanthaboune (1), @felipeelia (1), @ntsekouras (1), @kraftbj (1), @tahmina1du (1), @cshark (1), @garyjones (1), @antonvlasenko (1), @Cybr (1), @adi3890 (1), @sjoerdlinders (1), @shailu25 (1), @alvitazwar052 (1), @shuvoaftab (1), @ryelle (1), @hasanmisbah (1), @hrdelwar (1), @dhrupo (1), @dmsnell (1), @bhi3315 (1), @dlh (1), @kafleg (1), @david.binda (1), @jeremyfelt (1), @shuvo247 (1), @ndiego (1), @hztyfoon (1), @ironprogrammer (1), @ocean90 (1), @marybaum (1), @mikeyzm (1), @vivekawsm (1), @doems (1), @andraganescu (1), @dhrumilk (1), @mikinc860 (1), @zoonini (1), @akrocks (1), @nidhidhandhukiya (1), @syamraj24 (1), @jacknotman (1), @jomonthomaslobo1 (1), @nithi22 (1), @scruffian (1), @Toro_Unit (1), @eric.7186 (1), @andrewserong (1), @get_dave (1), @mikeschroder (1), @Levdbas (1), @aaronrobertshaw (1), @iamfarhan09 (1), @glendaviesnz (1), @johnbillion (1), @mrfoxtalbot (1), @jeroenrotty (1), @Mamaduka (1), @mujuonly (1), @afragen (1), @pavanpatil1 (1), @guillaumeturpin (1), @nkeller15 (1), @mikachan (1), @Rahmohn (1), @sakibmd (1), @haritpanchal (1), @isabel_brison (1), @whaze (1), @leprincenoir (1), and @Clorith (1).

Congrats and welcome to our 11 (!) new contributors of the week: @thunderdw, @tahmina1du, @cshark, @vivekawsm, @doems, @mikinc860, @akrocks, @jacknotman, @jomonthomaslobo1, @eric7186, @iamfarhan09 ♥️

Core committers: @audrasjb (39), @isabel_brison (11), @sergeybiryukov (9), @flixos90 (5), @johnbillion (4), @davidbaumwald (3), @peterwilsoncc (2), @joedolson (2), @azaozz (2), @spacedmonkey (2), @adamsilverstein (1).

#6-3, #core, #week-in-core