Title: A Week in Core – January 22, 2024
Author: Jb Audras
Published: January 22, 2024

---

 [  ](https://profiles.wordpress.org/audrasjb/) [Jb Audras](https://profiles.wordpress.org/audrasjb/)
11:27 pm _on_ January 22, 2024     
Tags: [6-5 ( 76 )](https://make.wordpress.org/core/tag/6-5/),
[core ( 762 )](https://make.wordpress.org/core/tag/core/), [week in core ( 245 )](https://make.wordpress.org/core/tag/week-in-core/)

# 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](https://core.trac.wordpress.org/timeline?from=01%2F22%2F2024&daysback=7&authors=&ticket=on&changeset=on&repo-=on&repo-design=on&repo-tests=on&sfp_email=&sfph_mail=&update=Update).
The following is a summary of commits, organized by component and/or focus.

## Code changes

### Administration

 * Remove empty form `action` attributes – [#58226](https://core.trac.wordpress.org/ticket/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/](https://developer.wordpress.org/rest-api/)
   request – [#42061](https://core.trac.wordpress.org/ticket/42061)

### Build/Test Tools

 * Remove leftover `trailingslashit()` calls in `WP_Textdomain_Registry` tests –
   [#58919](https://core.trac.wordpress.org/ticket/58919)
 * Expand “imagemin” Grunt task to cover default themes – [#58996](https://core.trac.wordpress.org/ticket/58996)
 * Fix unstable query tests – [#60288](https://core.trac.wordpress.org/ticket/60288)

### Bundled Theme

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

### Comments

 * Use `post_password_required()` for comment capabilitycapability A **capability**
   is permission to perform one or more types of task. Checking if a user has a 
   capability is performed by the `current_user_can` function. Each user of a WordPress
   site might have some permissions but not others, depending on their role. For
   example, users who have the Author role usually have permission to edit their
   own posts (the “edit_posts” capability), but not permission to edit other users’
   posts (the “edit_others_posts” capability). checks – [#59929](https://core.trac.wordpress.org/ticket/59929)

### Docs

 * Correct the `WP_User Query` location reference in query cache tests – [#59651](https://core.trac.wordpress.org/ticket/59651)
 * Correct the placement of `@global` tags in `wp-settings.php` – [#60146](https://core.trac.wordpress.org/ticket/60146)
 * Fix several typos in inline comments – [#60285](https://core.trac.wordpress.org/ticket/60285)
 * Fix var types of parameters in `sanitize_option()` and `sanitize_option_{$option}`–
   [#60214](https://core.trac.wordpress.org/ticket/60214), [#59651](https://core.trac.wordpress.org/ticket/59651)
 * Format `new_admin_email_content` placeholders as a list – [#60262](https://core.trac.wordpress.org/ticket/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](https://core.trac.wordpress.org/ticket/59969)

### Embeds

 * Ensure the deprecated function `print_emoji_styles` isn’t used – [#59892](https://core.trac.wordpress.org/ticket/59892).
   See: [#58775](https://core.trac.wordpress.org/ticket/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](https://core.trac.wordpress.org/ticket/60283)
 * Add support for HR element – [#60283](https://core.trac.wordpress.org/ticket/60283)
 * Add support for PRE and LISTING elements – [#60283](https://core.trac.wordpress.org/ticket/60283)
 * Cleanup tests and list of void elements – [#60307](https://core.trac.wordpress.org/ticket/60307)

### I18Ni18n Internationalization, or the act of writing and preparing code to be fully translatable into other languages. Also see 󠀁[localization](https://make.wordpress.org/core/2024/01/22/a-week-in-core-january-22-2024/?output_format=md#l10n)󠁿. 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](https://core.trac.wordpress.org/ticket/58919)
 * Correctly invalidate language file paths in `WP_Textdomain_Registry` – [#58919](https://core.trac.wordpress.org/ticket/58919)
 * Do not use `trailingslashit` in `WP_Textdomain_Registry` – [#58919](https://core.trac.wordpress.org/ticket/58919)
 * Fix duplicate `determine_locale()` tests added in [[57286]](https://core.trac.wordpress.org/changeset/57286)–
   [#58696](https://core.trac.wordpress.org/ticket/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](https://core.trac.wordpress.org/ticket/58919)

### Media

 * Inline image CSSCSS Cascading Style Sheets. width to backfill `width` and `height`
   attributes – [#59352](https://core.trac.wordpress.org/ticket/59352)
 * Redirect inactive attachement pages for logged-out users – [#59866](https://core.trac.wordpress.org/ticket/59866),
   [#57913](https://core.trac.wordpress.org/ticket/57913)
 * Revert [[57310]](https://core.trac.wordpress.org/changeset/57310) – [#59866](https://core.trac.wordpress.org/ticket/59866),
   [#57913](https://core.trac.wordpress.org/ticket/57913)

### Plugins

 * Correct table layout on smaller screens – [#50069](https://core.trac.wordpress.org/ticket/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](https://www.javascript.com/)
   localization on install page – [#58696](https://core.trac.wordpress.org/ticket/58696)

## Props

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

**Congrats and welcome to our 3 new contributors of the week:** [@lots0logs](https://profiles.wordpress.org/lots0logs/),
[@joppuyo](https://profiles.wordpress.org/joppuyo/), [@bartkleinreesink](https://profiles.wordpress.org/bartkleinreesink/)
♥️

**Core committers:** [@sergeybiryukov](https://profiles.wordpress.org/sergeybiryukov/)(
10), [@swissspidy](https://profiles.wordpress.org/swissspidy/) (8), [@dmsnell](https://profiles.wordpress.org/dmsnell/)(
4), [@peterwilsoncc](https://profiles.wordpress.org/peterwilsoncc/) (3), [@flixos90](https://profiles.wordpress.org/flixos90/)(
3), [@audrasjb](https://profiles.wordpress.org/audrasjb/) (3), [@joemcgill](https://profiles.wordpress.org/joemcgill/)(
1), [@jorbin](https://profiles.wordpress.org/jorbin/) (1), [@desrosj](https://profiles.wordpress.org/desrosj/)(
1), and [@joedolson](https://profiles.wordpress.org/joedolson/) (1).

[#6-5](https://make.wordpress.org/core/tag/6-5/), [#core](https://make.wordpress.org/core/tag/core/),
[#week-in-core](https://make.wordpress.org/core/tag/week-in-core/)

### Share this:

 * [  Threads ](https://make.wordpress.org/core/2024/01/22/a-week-in-core-january-22-2024/?share=threads)
 * [  Mastodon ](https://make.wordpress.org/core/2024/01/22/a-week-in-core-january-22-2024/?share=mastodon)
 * [  Bluesky ](https://make.wordpress.org/core/2024/01/22/a-week-in-core-january-22-2024/?share=bluesky)
 * [  X ](https://make.wordpress.org/core/2024/01/22/a-week-in-core-january-22-2024/?share=x)
 * [  Facebook ](https://make.wordpress.org/core/2024/01/22/a-week-in-core-january-22-2024/?share=facebook)
 * [  LinkedIn ](https://make.wordpress.org/core/2024/01/22/a-week-in-core-january-22-2024/?share=linkedin)

# Post navigation

[← Dev Chat summary, January 17, 2024](https://make.wordpress.org/core/2024/01/22/dev-chat-summary-january-17-2024/)

[Core Editor Improvement: Robust Revisions in the Site Editor →](https://make.wordpress.org/core/2024/01/22/core-editor-improvement-robust-revisions-in-the-site-editor/)