A Week in Core – November 14, 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 31 and November 7, 2022.

  • 47 commits
  • 120 contributors
  • 97 tickets created
  • 27 tickets reopened
  • 104 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


  • Add missing escaping for a few strings used as HTMLHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. attributes – #57093

Bundled Themes

  • Twenty Seventeen: Improve letter-spacing reset for non-latin alphabets – #56994


  • Protect against error for term not exists queries – #55955

Coding Standards

  • Apply spacing changes after composer format#57057
  • Declare $wp_taxonomies global at the top of unregister_taxonomy()#57058
  • Use consistent spelling for “cacheable” in WP_Query::get_posts()#57012


  • Document the usage of $wpdb global in WP_Date_Query methods – #57033
  • Document the usage of globals in some functions – #57082
  • Fix block_editor_rest_api_preload() parameter type – #56810, #56792
  • Improve globals documentation in unregister_taxonomy() and wp_term_is_shared()#57058, #56792
  • Replace 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. links with 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. in class-json.php docblocks – #57017, #56792
  • Replace HTTP links with HTTPS in class-pop3.php docblocks and JSJS JavaScript, a web scripting language typically executed in the browser. Often used for advanced user interfaces and behaviors. vendor readme file – #57017, #56792
  • Typo correction in get_registered_nav_menus() docblockdocblock (phpdoc, xref, inline docs)#57101, #56792
  • Various docblock fixes in Multisitemultisite Used to describe a WordPress installation with a network of multiple blogs, grouped by sites. This installation type has shared users tables, and creates separate database tables for each blog (wp_posts becomes wp_0_posts). See also network, blog, site administration functions – #56792


  • Avoid running certain logic around theme.json parsing unnecessarily for classic themes – #56945
  • Correctly style separator blocks when only a background-color is defined – #56903
  • Improve Archive template description – #57001
  • Improve frontend performance for get_default_block_editor_settings()#56815
  • Improve how min/max font sizes are calculated for fluid typography – #57075
  • Improve performance of WP_Theme_JSON class by reducing usage of expensive array functions – #56974, #57067
  • Update 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. editor packages to the latest patchpatch A special text file that describes changes to code, by identifying the files and lines which are added, removed, and altered. It may also be referred to as a diff. A patch can be applied to a codebase for testing. releases – #57038, #56818, #56955, #56923


  • Return FTPFTP FTP is an acronym for File Transfer Protocol which is a way of moving computer files from one computer to another via the Internet. You can use software, known as a FTP client, to upload files to a server for a WordPress website. https://codex.wordpress.org/FTP_Clients./FTP Sockets exists() methods to a previous state – #56966, #51170, #28013


  • Check that both normalizer_* functions exist in remove_accents()#56980


  • Use HTTPS for the b2/cafélog link in readme.html#57018


  • Fix inconsistency in auto-updates help tabs – #56921

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.

  • Always pass $locale to load_textdomain()#57060
  • Initialize textdomain registry in wp_load_translations_early()#57051


  • Prevent decoding attribute corrupting JSONJSON JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML. data – #56969


  • Apply menu-item-has-children class in sub-menus – #56946, #28620

Networks and Sites

  • Replace “N/A” with “Not applicable” in choose_primary_blog()#57040

Posts, Post Types


  • Bypass caching for filtered SELECTs – #57012
  • Don’t attempt caching if running a WP_User_Query before plugins_loaded – #56952
  • Prevent ID only queries erroring when starting the 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.#56948


  • Combine duplicate update_posts_count() tests – #57023, #56793
  • Correct the test for get_blogaddress_by_id() with a non-existing ID – #56793
  • Resolve WP_Query test failures on MariaDB due to indeterminate sort order – #57012
  • Restore blogblog (versus network, site) switching in update_posts_count() test – #57023

Text Changes

  • Improve the wording of the email sent to confirm site deletion – #56921
  • Remove capitalization on “site editing” – #57026
  • Replace “Full site editing” with “Site Editor” – #57026
  • Update @since mentions for [54786] changes – #57026


  • Improve WP_Query call getting global styles – #56900
  • Re-order valid link pseudo classes – #56928
  • Reduce usage of wp_get_theme function. – #57057
  • Revert one instance of wp_get_theme() from [54817] – #57057


  • Deactivate GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ 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 version older than 14.1 – #56985


  • Delete the comments-query-loop folder in wp-includes/blocks#57080


Thanks to the 120 (!) people who contributed to WordPress Core on Trac last week: @mukesh27 (12), @SergeyBiryukov (12), @desrosj (11), @spacedmonkey (10), @peterwilsoncc (9), @audrasjb (7), @flixos90 (6), @costdev (5), @TimothyBlynJacobs (5), @ocean90 (4), @hellofromTonya (4), @sabernhardt (3), @aristath (3), @andrewserong (3), @NekoJonez (2), @wildworks (2), @mikachan (2), @dd32 (2), @ironprogrammer (2), @swissspidy (2), @upadalavipul (2), @miguelaxcar (2), @mxbclang (2), @czapla (2), @poena (2), @davidbaumwald (2), @mamaduka (2), @azaozz (2), @nithins53 (2), @ramonopoly (2), @kowsar89 (2), @joen (2), @cbravobernal (2), @namithjawahar (1), @rjasdfiii (1), @dilipbheda (1), @10upsimon (1), @Bjorn2404 (1), @itpathsolutions (1), @kadamwhite (1), @codesdnc (1), @nuvoPoint (1), @outrankjames (1), @oandregal (1), @manuilov (1), @pbiron (1), @webmandesign (1), @sippis (1), @petitphp (1), @mattkeys (1), @stentibbing (1), @rajeshraval786 (1), @pento (1), @pypwalters (1), @haritpanchal (1), @webaxones (1), @Chaton666 (1), @obenland (1), @oakesjosh (1), @subrataemfluence (1), @carazo (1), @johnwatkins0 (1), @claytoncollie (1), @Clorith (1), @chouby (1), @janthiel (1), @JeffPaul (1), @johnbillion (1), @amirrezatm (1), @lozula (1), @konyoldeath (1), @Mamaduka (1), @hiren1094 (1), @larsmqller (1), @LeonidasMilossis (1), @adamsilverstein (1), @innovext (1), @bernhard-reiter (1), @bph (1), @noisysocks (1), @mciampini (1), @talldanwp (1), @andraganescu (1), @scruffian (1), @get_dave (1), @isabel_brison (1), @ntsekouras (1), @ellatrix (1), @aaronrobertshaw (1), @gisgeo (1), @jchambo (1), @zodiac1978 (1), @gamecreature (1), @pkolenbr (1), @afragen (1), @jsh4 (1), @tyxla (1), @mcsf (1), @fpodhorsky (1), @kacper3355 (1), @davidvongries (1), @glendaviesnz (1), @mw108 (1), @joelmadigan (1), @rodricus (1), @jorbin (1), @azurseisme (1), @jrf (1), @vtad (1), @krunal265 (1), @ryankienstra (1), @riccardodicurti (1), @0mirka00 (1), @ndiego (1), @kevin940726 (1), @alexstine (1), @youknowriad (1), @cybr (1), @krupalpanchal (1), and @rajanpanchal2028 (1).

Congrats and welcome to our 31 (!!!) new contributors of the week: @miguelaxcar, @kowsar89, @rjasdfiii, @10upsimon, @Bjorn2404, @itpathsolutions, @codesdnc, @nuvoPoint, @outrankjames, @stentibbing, @carazo, @amirrezatm, @lozula, @konyoldeath, @larsmqller, @LeonidasMilossis, @innovext, @gisgeo, @jchambo, @gamecreature, @pkolenbr, @jsh4, @fpodhorsky, @kacper3355, @davidvongries, @mw108, @joelmadigan, @rodricus, @azurseisme, @krunal265, @riccardodicurti, ♥️

Core committers: @audrasjb (14), @sergeybiryukov (11), @peterwilsoncc (8), @desrosj (7), @flixos90 (3), @spacedmonkey (1), @ocean90 (1), @hellofromtonya (1), and @timothyblynjacobs (1).

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