A Week in Core – January 22, 2024

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 January 15 and January 22, 2024.

  • 35 commits
  • 62 contributors
  • 67 tickets created
  • 10 tickets reopened
  • 72 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

Administration

  • Remove empty form action attributes – #58226

Bootstrap/Load

  • Introduce functions to check whether WordPress is serving a 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/. request – #42061

Build/Test Tools

  • Remove leftover trailingslashit() calls in WP_Textdomain_Registry tests – #58919
  • Expand “imagemin” Grunt task to cover default themes – #58996
  • Fix unstable query tests – #60288

Bundled Theme

  • Fix a couple of incorrect theme name references – #60310
  • Typo corrections in various themes docblocks – #60268, #59651
  • Version bump themes affected by #60241#60267
  • Twenty Twenty-Four: Remove extra tab character inside the text domain – #60245
  • Twenty Twenty-Four: Update license information in readme – #59838
  • Twenty Twenty: Add missing comma in twentytwenty_classic_editor_styles()#48630
  • Twenty Twenty: Move the Inter font declaration to a separate file and enqueue the file – #48630
  • Twenty Twenty: Replace wp_date() with date_i18n()#48589

Comments

  • Use post_password_required() for comment capability checks – #59929

Docs

  • Correct the WP_User Query location reference in query cache tests – #59651
  • Correct the placement of @global tags in wp-settings.php#60146
  • Fix several typos in inline comments – #60285
  • Fix var types of parameters in sanitize_option() and sanitize_option_{$option}#60214, #59651
  • Format new_admin_email_content placeholders as a list – #60262

Editor

  • Support deferred 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. variation initialization on the server – #59969

Embeds

  • Ensure the deprecated function print_emoji_styles isn’t used – #59892. See: #58775

HTMLHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. 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.

  • Support for BR, EMBED, & other tags – #60283
  • Add support for HR element – #60283
  • Add support for PRE and LISTING elements – #60283
  • Cleanup tests and list of void elements – #60307

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.

  • Cache list of language file paths in WP_Textdomain_Registry#58919
  • Correctly invalidate language file paths in WP_Textdomain_Registry#58919
  • Do not use trailingslashit in WP_Textdomain_Registry#58919
  • Fix duplicate determine_locale() tests added in [57286]#58696
  • Prevent PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 7.4 or higher warning in WP_Textdomain_Registry#58919

Media

  • Inline image CSSCSS Cascading Style Sheets. width to backfill width and height attributes – #59352
  • Redirect inactive attachement pages for logged-out users – #59866, #57913
  • Revert [57310]#59866, #57913

Plugins

  • Correct table layout on smaller screens – #50069

Upgrade/Install

  • 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/. localization on install page – #58696

Props

Thanks to the 62 people who contributed to WordPress Core on Trac: @sabernhardt (7), @mukesh27 (7), @shailu25 (6), @poena (4), @swissspidy (3), @jonsurrell (3), @dmsnell (3), @joemcgill (3), @flixos90 (3), @peterwilsoncc (3), @SergeyBiryukov (2), @hellofromTonya (2), @jorbin (2), @costdev (2), @acosmin (1), @desrosj (1), @passoniate (1), @JavierCasares (1), @spacedmonkey (1), @thekt12 (1), @Mamaduka (1), @gaambo (1), @gziolo (1), @lots0logs (1), @TimothyBlynJacobs (1), @joehoyle (1), @pento (1), @mikejolley (1), @iandunn (1), @Cybr (1), @petitphp (1), @markhowellsmead (1), @nielslange (1), @Otto42 (1), @SGr33n (1), @afercia (1), @aristath (1), @chesio (1), @joppuyo (1), @lakshmananphp (1), @sergeybiryukov (1), @boonebgorges (1), @bobbingwide (1), @johnbillion (1), @gerardreches (1), @crstauf (1), @sachyya-sachet (1), @joyously (1), @Malae (1), @audrasjb (1), @bartkleinreesink (1), @nicolefurlan (1), @shubhamsedani (1), @rajinsharwar (1), @joedolson (1), @westonruter (1), @dd32 (1), @shooper (1), @stevenlinx (1), @mreishus (1), @NekoJonez (1), and @jornp (1).

Congrats and welcome to our 3 new contributors of the week: @lots0logs, @joppuyo, @bartkleinreesink ♥️

Core committers: @sergeybiryukov (10), @swissspidy (8), @dmsnell (4), @peterwilsoncc (3), @flixos90 (3), @audrasjb (3), @joemcgill (1), @jorbin (1), @desrosj (1), and @joedolson (1).

#6-5, #core, #week-in-core