Title: A Week in Core – June 20, 2022
Author: Jb Audras
Published: June 21, 2022

---

 [  ](https://profiles.wordpress.org/audrasjb/) [Jb Audras](https://profiles.wordpress.org/audrasjb/)
8:03 am _on_ June 21, 2022     
Tags: [6.0 ( 76 )](https://make.wordpress.org/core/tag/6-0/),
[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 – June 20, 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 June 13 and 
June 20, 2022.

 * 52 commits
 * 31 contributors
 * 51 tickets created
 * 8 tickets reopened
 * 37 tickets closed

The Core team is currently working on the next major releasemajor release A release,
identified by the first two numbers (3.6), which is the focus of a full release 
cycle and feature development. WordPress uses decimaling count for major release
versions, so 2.8, 2.9, 3.0, and 3.1 are sequential and comparable in scope., [WP 6.1](https://core.trac.wordpress.org/query?group=status&milestone=6.1)
🛠

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=06%2F20%2F2022&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

 * Adjust SlackSlack Slack is a Collaborative Group Chat Platform [https://slack.com/](https://slack.com/).
   The WordPress community has its own Slack Channel at [https://make.wordpress.org/chat/](https://make.wordpress.org/chat/)
   notifications logic to account for expected non `push` events – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Add a helper method for for creating named data providers in `WP_UnitTestCase_Base`–
   [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Add a unit testunit test Code written to test a small piece of code or functionality
   within a larger application. Everything from themes to WordPress core have a 
   series of unit tests. Also see [regression](https://make.wordpress.org/core/2022/06/21/a-week-in-core-june-20-2022/?output_format=md#regression).
   for PHPPHP The web scripting language in which WordPress is primarily architected.
   WordPress requires PHP 7.4 or higher 8.1 deprecation notice in `wp_user_settings()`–
   [#54914](https://core.trac.wordpress.org/ticket/54914)
 * Always include the error message in `assertNotWPError()` and `assertNotIXRError()`–
   [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Consistently check that an image was loaded in image saving tests – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Further improve `Tests_Image_Functions::test_wp_crop_image*()` tests – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Improve `Tests_Image_Functions::test_wp_crop_image*()` tests – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Move helper functions in `Tests_Image_Functions` to more appropriate places –
   [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Move the `filter_image_editor_output_format()` helper method next to the test
   it’s used in – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Re-enable failing 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/)
   test for `update_post_parent_caches()` – [#55593](https://core.trac.wordpress.org/ticket/55593)
 * Refactor `Tests_Image_Functions::test_inferred_mime_types()` to use a data provider–
   [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Refactor `Tests_Image_Functions::test_is_displayable_image_negative()` to use
   a data provider – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Refactor `Tests_Image_Functions::test_is_displayable_image_positive()` to use
   a data provider – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Refactor `Tests_Image_Functions::test_is_image_negative()` to use a data provider–
   [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Refactor `Tests_Image_Functions::test_is_image_positive()` to use a data provider–
   [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Refactor `Tests_Image_Functions::test_load_directory()` to split the tests and
   use a data provider – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Refactor `Tests_Image_Functions::test_mime_overrides_filename()` to use a data
   provider – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Refactor `Tests_Image_Functions::test_wp_save_image_file()` to use a data provider–
   [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Remove redundant skip call in `Tests_Image_Functions::get_image_editor_engine_classes()`–
   [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Rename classes in `phpunit/tests/option/` per the naming conventions – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Rename some test methods in `Tests_Image_Functions` for consistency – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Reorder `is_gd_image()` test methods for consistency – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Some improvements for REST API cache priming – [#55593](https://core.trac.wordpress.org/ticket/55593),#
   55652
 * Temporarily disable the failing REST API test for `update_post_parent_caches()`–
   [#55593](https://core.trac.wordpress.org/ticket/55593)
 * Use `assertSameSets()` in some newly introduced tests – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Use consistent punctuation in failure messages in `Tests_Image_Functions` – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Use more consistent wording when referring to PHP deprecation notices – [#55652](https://core.trac.wordpress.org/ticket/55652)

### Bundled Themes

 * Twenty Nineteen: Ensure custom text color is reflected in the Editor for 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. – [#55992](https://core.trac.wordpress.org/ticket/55992)
 * Twenty Twenty-One: Ensure custom text color is reflected in the Editor for Quote
   block – [#55989](https://core.trac.wordpress.org/ticket/55989)

### Coding Standards

 * Fix WPCSWordPress Community Support A public benefit corporation and a subsidiary
   of the WordPress Foundation, [established](https://wordpressfoundation.org/news/2016/introducing-wordpress-community-support-a-public-benefit-subsidiary/)
   in 2016. issue in [[53518]](https://core.trac.wordpress.org/changeset/53518) –
   [#54233](https://core.trac.wordpress.org/ticket/54233)

### Database

 * Don’t translate the “WordPress database error” message in the error log – [#53125](https://core.trac.wordpress.org/ticket/53125)

### Docs

 * Add `@since` notes for `html5` theme feature changes in `add_theme_support()`–
   [#51657](https://core.trac.wordpress.org/ticket/51657), [#55646](https://core.trac.wordpress.org/ticket/55646)
 * Add a comment for stripping the leading `AND` from SQL clauses in some query 
   classes – [#55646](https://core.trac.wordpress.org/ticket/55646)
 * Add a missing word in `pre_months_dropdown_query` 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 – [#55646](https://core.trac.wordpress.org/ticket/55646)
 * Consistently declare the `$wp_query` global in link template functions – [#43164](https://core.trac.wordpress.org/ticket/43164)
 * Use third-person singular verbs for function descriptions in `Tests_Image_Functions`,
   per the documentation standards – [#55646](https://core.trac.wordpress.org/ticket/55646)
 * Use third-person singular verbs for function descriptions in the Feed 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., as per docblockdocblock (phpdoc, xref, inline docs) standards – [#55646](https://core.trac.wordpress.org/ticket/55646)
 * Use third-person singular verbs for function descriptions in the 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).
   Administration API – [#55646](https://core.trac.wordpress.org/ticket/55646)
 * Use third-person singular verbs for function descriptions in the `WP_Screen` 
   API – [#55646](https://core.trac.wordpress.org/ticket/55646)

### Embeds

 * Remove MeetupMeetup All local/regional gatherings that are officially a part 
   of the WordPress world but are not WordCamps are organized through [https://www.meetup.com/](https://www.meetup.com/).
   A meetup is typically a chance for local WordPress users to get together and 
   share new ideas and seek help from one another. Searching for ‘WordPress’ on 
   meetup.com will help you find options in your area. as an oEmbed source since
   the related endpoint has been deprecated – [#55997](https://core.trac.wordpress.org/ticket/55997)

### External Libraries

 * Upgrade PHPMailer to version 6.6.2 – [#55976](https://core.trac.wordpress.org/ticket/55976)
 * Upgrade PHPMailer to version 6.6.3 – [#56016](https://core.trac.wordpress.org/ticket/56016)

### General

 * Use `WPINC` as a shorter reference to `wp-includes` in some files – [#54233](https://core.trac.wordpress.org/ticket/54233)

### 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/2022/06/21/a-week-in-core-june-20-2022/?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.

 * Correct and improve inline docsinline docs (phpdoc, docblock, xref) and tests
   for functionality related to nooped plurals – [#55646](https://core.trac.wordpress.org/ticket/55646),
   [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Use a translatable string for displaying a user’s first name and last name – 
   [#17025](https://core.trac.wordpress.org/ticket/17025)

### REST API

 * Avoid duplicated query in post collections – [#55677](https://core.trac.wordpress.org/ticket/55677)
 * Prime caches for featured images in post controller – [#55592](https://core.trac.wordpress.org/ticket/55592)
 * Prime caches for linked objects in menu item REST API controller – [#55620](https://core.trac.wordpress.org/ticket/55620)
 * Prime caches for post parents in post REST API controller – [#55593](https://core.trac.wordpress.org/ticket/55593)
 * Some documentation and test improvements for `update_menu_item_cache()` – [#55620](https://core.trac.wordpress.org/ticket/55620)
 * Some documentation and test improvements for `update_post_parent_caches()` – 
   [#55593](https://core.trac.wordpress.org/ticket/55593)

### Taxonomy

 * Fix caching issues in `WP_Term_Query` class – [#55837](https://core.trac.wordpress.org/ticket/55837)

## Props

**Thanks to the 31 people who contributed to WordPress Core on Trac last week:**
[@jrf](https://profiles.wordpress.org/jrf/) (15), [@peterwilsoncc](https://profiles.wordpress.org/peterwilsoncc/)(
4), [@SergeyBiryukov](https://profiles.wordpress.org/sergeybiryukov/) (4), [@spacedmonkey](https://profiles.wordpress.org/spacedmonkey/)(
4), [@TimothyBlynJacobs](https://profiles.wordpress.org/timothyblynjacobs/) (3),
[@mitogh](https://profiles.wordpress.org/mitogh/) (3), [@furi3r](https://profiles.wordpress.org/furi3r/)(
3), [@audrasjb](https://profiles.wordpress.org/audrasjb/) (3), [@evildon](https://profiles.wordpress.org/evildon/)(
2), [@malthert](https://profiles.wordpress.org/malthert/) (2), [@hellofromTonya](https://profiles.wordpress.org/hellofromtonya/)(
2), [@oztaser](https://profiles.wordpress.org/oztaser/) (1), [@denishua](https://profiles.wordpress.org/denishua/)(
1), [@georgestephanis](https://profiles.wordpress.org/georgestephanis/) (1), [@gdetassigny](https://profiles.wordpress.org/gdetassigny/)(
1), [@Spacedmonkey](https://profiles.wordpress.org/spacedmonkey/) (1), [@jnz31](https://profiles.wordpress.org/jnz31/)(
1), [@knutsp](https://profiles.wordpress.org/knutsp/) (1), [@mukesh27](https://profiles.wordpress.org/mukesh27/)(
1), [@ayeshrajans](https://profiles.wordpress.org/ayeshrajans/) (1), [@bobbingwide](https://profiles.wordpress.org/bobbingwide/)(
1), [@madpixels](https://profiles.wordpress.org/madpixels/) (1), [@nithi22](https://profiles.wordpress.org/nithi22/)(
1), [@kajalgohel](https://profiles.wordpress.org/kajalgohel/) (1), [@jyolsna](https://profiles.wordpress.org/jyolsna/)(
1), [@sabernhardt](https://profiles.wordpress.org/sabernhardt/) (1), @mt8.biz (1),
[@adamsilverstein](https://profiles.wordpress.org/adamsilverstein/) (1), [@Synchro](https://profiles.wordpress.org/synchro/)(
1), [@swissspidy](https://profiles.wordpress.org/swissspidy/) (1), and [@costdev](https://profiles.wordpress.org/costdev/)(
1).

**Congrats and welcome to our 5 new contributors of the week:** [@evildon](https://profiles.wordpress.org/evildon/),
[@gdetassigny](https://profiles.wordpress.org/gdetassigny/), [@madpixels](https://profiles.wordpress.org/madpixels/),
[@nithi22](https://profiles.wordpress.org/nithi22/), [@jyolsna](https://profiles.wordpress.org/jyolsna/)
♥️

**Core committers:** [@sergeybiryukov](https://profiles.wordpress.org/sergeybiryukov/)(
37), [@audrasjb](https://profiles.wordpress.org/audrasjb/) (6), [@spacedmonkey](https://profiles.wordpress.org/spacedmonkey/)(
6), [@desrosj](https://profiles.wordpress.org/desrosj/) (2), and [@johnbillion](https://profiles.wordpress.org/johnbillion/)(
1).

[#6-0](https://make.wordpress.org/core/tag/6-0/), [#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/2022/06/21/a-week-in-core-june-20-2022/?share=threads)
 * [  Mastodon ](https://make.wordpress.org/core/2022/06/21/a-week-in-core-june-20-2022/?share=mastodon)
 * [  Bluesky ](https://make.wordpress.org/core/2022/06/21/a-week-in-core-june-20-2022/?share=bluesky)
 * [  X ](https://make.wordpress.org/core/2022/06/21/a-week-in-core-june-20-2022/?share=x)
 * [  Facebook ](https://make.wordpress.org/core/2022/06/21/a-week-in-core-june-20-2022/?share=facebook)
 * [  LinkedIn ](https://make.wordpress.org/core/2022/06/21/a-week-in-core-june-20-2022/?share=linkedin)

# Post navigation

[← Editor chat summary: 15 June, 2022](https://make.wordpress.org/core/2022/06/20/editor-chat-summary-15-june-2022/)

[Performance team meeting summary 21 June 2022 →](https://make.wordpress.org/core/2022/06/21/performance-team-meeting-summary-21-june-2022/)