Title: A Week in Core – November 29, 2021
Author: Jb Audras
Published: November 29, 2021

---

 [  ](https://profiles.wordpress.org/audrasjb/) [Jb Audras](https://profiles.wordpress.org/audrasjb/)
11:34 pm _on_ November 29, 2021     
Tags: [5.9 ( 104 )](https://make.wordpress.org/core/tag/5-9/),
[core ( 756 )](https://make.wordpress.org/core/tag/core/), [week in core ( 245 )](https://make.wordpress.org/core/tag/week-in-core/)

# A Week in Core – November 29, 2021

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 November 22 
and November 29, 2021.

 * 42 commits
 * 60 contributors
 * 53 tickets created
 * 5 tickets reopened
 * 40 tickets closed

The Core team is currently working on the [next major release, WordPress 5.9](https://make.wordpress.org/core/5-9/)
🛠

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=11%2F29%2F2021&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

### Build/Test Tools

 * Configure Dependabot scanning for 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 by the repository owner. [https://github.com/](https://github.com/)
   Actions – [#54503](https://core.trac.wordpress.org/ticket/54503)
 * Correct the order and naming of expected and actual values in various tests –
   [#53363](https://core.trac.wordpress.org/ticket/53363)
 * Fix warnings from `stdClass::__invoke()` callback mocks in 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/)
   tests – [#53844](https://core.trac.wordpress.org/ticket/53844)
 * Remove unexpected output in `wp_dashboard_recent_drafts()` tests on PHPPHP The
   web scripting language in which WordPress is primarily architected. WordPress
   requires PHP 7.4 or higher 8.1 – [#53635](https://core.trac.wordpress.org/ticket/53635),
   [#53363](https://core.trac.wordpress.org/ticket/53363)
 * Rename classes in `phpunit/tests/block-supports/` per the naming conventions –
   [#53363](https://core.trac.wordpress.org/ticket/53363)
 * Rename classes in 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. template tests per the naming conventions – [#53363](https://core.trac.wordpress.org/ticket/53363)
 * Replace `assertEquals()` with `assertSame()` in block template tests – [#53364](https://core.trac.wordpress.org/ticket/53364),
   [#53363](https://core.trac.wordpress.org/ticket/53363), [#54335](https://core.trac.wordpress.org/ticket/54335)
 * Temporarily disable the check that the current recommended PHP version is actively
   supported – [#54528](https://core.trac.wordpress.org/ticket/54528)
 * Use a simpler approach to test the output in some tests – [#53635](https://core.trac.wordpress.org/ticket/53635),
   [#53363](https://core.trac.wordpress.org/ticket/53363), [#53363](https://core.trac.wordpress.org/ticket/53363)
 * Specify NodeJS version `14.x` in the `.nvmrc` file – [#54502](https://core.trac.wordpress.org/ticket/54502)

### Bundled Themes

 * Twenty Twenty One: Remove Image block placeholder alignment override in editor
   styles – [#54254](https://core.trac.wordpress.org/ticket/54254)
 * Twenty Twenty-One: Combine duplicate CSSCSS Cascading Style Sheets. rules – [#53605](https://core.trac.wordpress.org/ticket/53605)
 * Twenty Twenty-One: Style adjustments for list-based widgets in the 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.
   editor – [#53629](https://core.trac.wordpress.org/ticket/53629)
 * Twenty Twenty: Restore Editor post title styles after 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/](https://wordpress.org/gutenberg/)
   11.4.0 updates – [#54056](https://core.trac.wordpress.org/ticket/54056)

### Docs

 * Add a `@since` note and description to `wp_kses_attr()` for new attribute-related
   KSES options: – [#54261](https://core.trac.wordpress.org/ticket/54261)
 * Document the globals used in some Privacy 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. methods – [#53399](https://core.trac.wordpress.org/ticket/53399)
 * Improve consistency of some DocBlocks in `wp-admin/includes/post.php` – [#53399](https://core.trac.wordpress.org/ticket/53399)
 * Miscellaneous DocBlockdocblock (phpdoc, xref, inline docs) corrections – [#53399](https://core.trac.wordpress.org/ticket/53399)
 * Miscellaneous DocBlock corrections in `wp-admin/includes/post.php` – [#53399](https://core.trac.wordpress.org/ticket/53399)
 * Remove inaccurate part of the `screen_settings` filterFilter Filters are one 
   of the two types of Hooks [https://codex.wordpress.org/Plugin_API/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. description – [#54524](https://core.trac.wordpress.org/ticket/54524)
 * Various docblock corrections and improvements – [#53399](https://core.trac.wordpress.org/ticket/53399)

### Editor

 * Check the correct post type support property for `initial_edits` – [#53813](https://core.trac.wordpress.org/ticket/53813)
 * Ensure block style name does not contain spaces before creating the class – [#54296](https://core.trac.wordpress.org/ticket/54296)
 * Remove Navigation Areas – [#54506](https://core.trac.wordpress.org/ticket/54506)
 * Update wordpress packages: Update packages to include 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 from Gutenberg – [#54487](https://core.trac.wordpress.org/ticket/54487)

### External Libraries

 * Update getID3 to version 1.9.21 – [#54162](https://core.trac.wordpress.org/ticket/54162)
 * Update the Requests library to version 2.0.0 – [#54504](https://core.trac.wordpress.org/ticket/54504)
 * Upgrade PHPMailer to version 6.5.3 – [#54514](https://core.trac.wordpress.org/ticket/54514)

### Feeds

 * Remove reference to `wp-atom.php` in Atom feeds `xml:base` attribute – [#47955](https://core.trac.wordpress.org/ticket/47955)

### Media

 * Allow setting custom image alt text in 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–
   [#46124](https://core.trac.wordpress.org/ticket/46124)
 * Ensure media preview is fully viewable in the “Add Media” modal – [#53636](https://core.trac.wordpress.org/ticket/53636)
 * Fix `TypeError` and improve `wp_exif_frac2dec()` to only return `int` or `float`–
   [#54385](https://core.trac.wordpress.org/ticket/54385)
 * Replace `tests/phpunit/data/images/sugar-mountain.jpg` test image – [#54385](https://core.trac.wordpress.org/ticket/54385)
 * Replace some array keys with their numeric equivalent – [#53540](https://core.trac.wordpress.org/ticket/53540)

### REST API

 * Ensure that the rest_after_insert_ action is executed in the templates controller.–
   [#54520](https://core.trac.wordpress.org/ticket/54520)

### Script Loader

 * Enqueue block stylesheet only when the corresponding block is used – [#54457](https://core.trac.wordpress.org/ticket/54457)

### TaxonomyTaxonomy A taxonomy is a way to group things together. In WordPress, some common taxonomies are category, link, tag, or post format. 󠀁[https://codex.wordpress.org/Taxonomies#Default_Taxonomies](https://codex.wordpress.org/Taxonomies#Default_Taxonomies)󠁿.

 * Check $term object before using it in `get_term_feed_link()` – [#50225](https://core.trac.wordpress.org/ticket/50225)
 * Use `WP_Term` object to retrieve the taxonomy in `get_term_feed_link()` – [#50225](https://core.trac.wordpress.org/ticket/50225)

### Themes

 * Add block template resolution algorithm unit tests – [#54478](https://core.trac.wordpress.org/ticket/54478)
 * Move the skip link to outside the canvas in block themes – [#54491](https://core.trac.wordpress.org/ticket/54491)
 * Update the base folders for templates and template parts in block themes – [#54493](https://core.trac.wordpress.org/ticket/54493)

## Props

**Thanks to the 60 people who contributed to WordPress Core on Trac last week:**
[@jrf](https://profiles.wordpress.org/jrf/) (6), [@audrasjb](https://profiles.wordpress.org/audrasjb/)(
4), [@sabernhardt](https://profiles.wordpress.org/sabernhardt/) (4), [@costdev](https://profiles.wordpress.org/costdev/)(
4), [@mukesh27](https://profiles.wordpress.org/mukesh27/) (4), [@SergeyBiryukov](https://profiles.wordpress.org/sergeybiryukov/)(
3), [@spacedmonkey](https://profiles.wordpress.org/spacedmonkey/) (2), [@bernhard-reiter](https://profiles.wordpress.org/bernhard-reiter/)(
2), [@adamsilverstein](https://profiles.wordpress.org/adamsilverstein/) (2), [@peterwilsoncc](https://profiles.wordpress.org/peterwilsoncc/)(
2), [@zieladam](https://profiles.wordpress.org/zieladam/) (2), [@Boniu91](https://profiles.wordpress.org/boniu91/)(
2), [@justinahinon](https://profiles.wordpress.org/justinahinon/) (1), [@multidots1896](https://profiles.wordpress.org/multidots1896/)(
1), [@wojsmol](https://profiles.wordpress.org/wojsmol/) (1), [@jorgefilipecosta](https://profiles.wordpress.org/jorgefilipecosta/)(
1), [@chintan1896](https://profiles.wordpress.org/chintan1896/) (1), [@schlessera](https://profiles.wordpress.org/schlessera/)(
1), [@Synchro](https://profiles.wordpress.org/synchro/) (1), [@datagutten](https://profiles.wordpress.org/datagutten/)(
1), [@noisysocks](https://profiles.wordpress.org/noisysocks/) (1), [@dd32](https://profiles.wordpress.org/dd32/)(
1), [@dustinrue](https://profiles.wordpress.org/dustinrue/) (1), [@soulseekah](https://profiles.wordpress.org/soulseekah/)(
1), [@szepeviktor](https://profiles.wordpress.org/szepeviktor/) (1), [@youknowriad](https://profiles.wordpress.org/youknowriad/)(
1), [@ryelle](https://profiles.wordpress.org/ryelle/) (1), [@Shaharyar10](https://profiles.wordpress.org/shaharyar10/)(
1), [@shital-patel](https://profiles.wordpress.org/shital-patel/) (1), [@poena](https://profiles.wordpress.org/poena/)(
1), [@circlecube](https://profiles.wordpress.org/circlecube/) (1), [@Rahmohn](https://profiles.wordpress.org/rahmohn/)(
1), [@sourovroy](https://profiles.wordpress.org/sourovroy/) (1), [@hugod](https://profiles.wordpress.org/hugod/)(
1), [@webmandesign](https://profiles.wordpress.org/webmandesign/) (1), [@joedolson](https://profiles.wordpress.org/joedolson/)(
1), [@Ankit](https://profiles.wordpress.org/ankit/) K Gupta (1), [@get_dave](https://profiles.wordpress.org/get_dave/)(
1), [@shireling](https://profiles.wordpress.org/shireling/) (1), [@mai21](https://profiles.wordpress.org/mai21/)(
1), [@hilayt24](https://profiles.wordpress.org/hilayt24/) (1), [@desrosj](https://profiles.wordpress.org/desrosj/)(
1), [@praem90](https://profiles.wordpress.org/praem90/) (1), [@stevegs](https://profiles.wordpress.org/stevegs/)(
1), [@tobiasbg](https://profiles.wordpress.org/tobiasbg/) (1), [@tw2113](https://profiles.wordpress.org/tw2113/)(
1), [@siliconforks](https://profiles.wordpress.org/siliconforks/) (1), [@shimotomoki](https://profiles.wordpress.org/shimotomoki/)(
1), [@nrqsnchz](https://profiles.wordpress.org/nrqsnchz/) (1), [@devutpol](https://profiles.wordpress.org/devutpol/)(
1), [@amustaque97](https://profiles.wordpress.org/amustaque97/) (1), [@hellofromtonya](https://profiles.wordpress.org/hellofromtonya/)(
1), [@pbiron](https://profiles.wordpress.org/pbiron/) (1), [@afragen](https://profiles.wordpress.org/afragen/)(
1), [@dlh](https://profiles.wordpress.org/dlh/) (1), [@Starbuck](https://profiles.wordpress.org/starbuck/)(
1), [@afercia](https://profiles.wordpress.org/afercia/) (1), [@anevins](https://profiles.wordpress.org/anevins/)(
1), [@mikeschroder](https://profiles.wordpress.org/mikeschroder/) (1), and [@talldanwp](https://profiles.wordpress.org/talldanwp/)(
1).

**Congrats and welcome to our 10 new contributors of the week: **[@multidots1896](https://profiles.wordpress.org/multidots1896/),
[@wojsmol](https://profiles.wordpress.org/wojsmol/), [@datagutten](https://profiles.wordpress.org/datagutten/),
[@dustinrue](https://profiles.wordpress.org/dustinrue/), [@Shaharyar10](https://profiles.wordpress.org/shaharyar10/),
[@hugod](https://profiles.wordpress.org/hugod/), [@praem90](https://profiles.wordpress.org/praem90/),
[@stevegs](https://profiles.wordpress.org/stevegs/), [@shimotomoki](https://profiles.wordpress.org/shimotomoki/),
and [@amustaque97](https://profiles.wordpress.org/amustaque97/) ♥️

**Core committers:** [@sergeybiryukov](https://profiles.wordpress.org/sergeybiryukov/)(
14), [@audrasjb](https://profiles.wordpress.org/audrasjb/) (13), [@hellofromtonya](https://profiles.wordpress.org/hellofromtonya/)(
3), [@johnbillion](https://profiles.wordpress.org/johnbillion/) (3), [@spacedmonkey](https://profiles.wordpress.org/spacedmonkey/)(
2), [@youknowriad](https://profiles.wordpress.org/youknowriad/) (2), [@noisysocks](https://profiles.wordpress.org/noisysocks/)(
2), [@desrosj](https://profiles.wordpress.org/desrosj/) (2), and [@peterwilsoncc](https://profiles.wordpress.org/peterwilsoncc/)(
1).

[#5-9](https://make.wordpress.org/core/tag/5-9/), [#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/2021/11/29/a-week-in-core-november-29-2021/?share=threads)
 * [  Mastodon ](https://make.wordpress.org/core/2021/11/29/a-week-in-core-november-29-2021/?share=mastodon)
 * [  Bluesky ](https://make.wordpress.org/core/2021/11/29/a-week-in-core-november-29-2021/?share=bluesky)
 * [  X ](https://make.wordpress.org/core/2021/11/29/a-week-in-core-november-29-2021/?share=x)
 * [  Facebook ](https://make.wordpress.org/core/2021/11/29/a-week-in-core-november-29-2021/?share=facebook)
 * [  LinkedIn ](https://make.wordpress.org/core/2021/11/29/a-week-in-core-november-29-2021/?share=linkedin)

# Post navigation

[← What’s new in Gutenberg 12.0 ( 24 November)](https://make.wordpress.org/core/2021/11/29/whats-new-in-gutenberg-12-0-24-november/)

[Editor Chat Summary: 24th November 2021 →](https://make.wordpress.org/core/2021/11/30/editor-chat-summary-24th-november-2021/)