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

---

 [  ](https://profiles.wordpress.org/audrasjb/) [Jb Audras](https://profiles.wordpress.org/audrasjb/)
10:32 pm _on_ June 27, 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 27, 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 20 and 
June 27, 2022.

 * 49 commits
 * 43 contributors
 * 71 tickets created
 * 9 tickets reopened
 * 44 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)
and on the next minor, [WP 6.0.1](https://make.wordpress.org/core/2022/06/25/wordpress-6-0-x-release-team-and-6-0-1-schedule/)
🛠

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%2F27%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

### Application Passwords

 * Ensure long passwords don’t break the “new password” notice – [#54581](https://core.trac.wordpress.org/ticket/54581)

### Build/Test Tools

 * Add missing @covers tags and fix the docs for the Cron test group – [#39265](https://core.trac.wordpress.org/ticket/39265)
 * Add missing @covers tags for the AJAX test group – [#39265](https://core.trac.wordpress.org/ticket/39265)
 * 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)
 * Allow changes to the code coverage workflow to run on pull request – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Configure Xdebug modes in the local Docker environment – [#56022](https://core.trac.wordpress.org/ticket/56022)
 * Fix erroneous file name, from `convertInvalidEntries.php` to `convertInvalidEntities.
   php` – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Return an error when uploading a test coverage report fails – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Update 3rd party 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 – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Update NPM `devDependencies` to their latest versions – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Update the `actions/cache` action – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Always include the error message in `assertNotWPError()` and `assertNotIXRError()`–
   [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Correct the expected result for `wp_ajax_replyto_comment()` test with a draft
   post – [#39265](https://core.trac.wordpress.org/ticket/39265)
 * Further improve `Tests_Image_Functions::test_wp_crop_image*()` tests – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Give the tests for adding empty post metaMeta Meta is a term that refers to the
   inside workings of a group. For us, this is the team that works on internal WordPress
   sites like WordCamp Central and Make WordPress. values more consistent names –
   [#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)
 * Improve the test for sticky posts not being moved to the front in sitemaps – 
   [#55633](https://core.trac.wordpress.org/ticket/55633)
 * Move `assertQueryTrue()` closer to the other custom assertions in `WP_UnitTestCase_Base`–
   [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Put `@covers` tags before `@params` in Ajax and Formatting groups – [#39265](https://core.trac.wordpress.org/ticket/39265)
 * Refactor `Tests_Image_Functions::test_load_directory()` to split the tests and
   use a data provider – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Remove multiple `$wpdb::placeholder_escape()` calls in `wpdb` tests – [#55652](https://core.trac.wordpress.org/ticket/55652)
 * Replace `esc_url_raw()` calls with `sanitize_url()` – [#39265](https://core.trac.wordpress.org/ticket/39265),
   [#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 PHPPHP The web scripting language
   in which WordPress is primarily architected. WordPress requires PHP 7.4 or higher
   deprecation notices – [#55652](https://core.trac.wordpress.org/ticket/55652)

### Code Modernization

 * Remove dynamic properties in `Tests_*_Slashes` – [#56033](https://core.trac.wordpress.org/ticket/56033)
 * Remove dynamic properties in `Tests_Media` – [#56033](https://core.trac.wordpress.org/ticket/56033)
 * Use the integer portion of an item position in `add_submenu_page()` – [#55656](https://core.trac.wordpress.org/ticket/55656),
   [#54798](https://core.trac.wordpress.org/ticket/54798)

### Comments

 * Add contextual `autocomplete` attributes to comment form fields – [#55779](https://core.trac.wordpress.org/ticket/55779)

### Database

 * Add `%i` placeholder support to `$wpdb->prepare` to escape table and column names–
   [#52506](https://core.trac.wordpress.org/ticket/52506)
 * Add missing `@since` mention in `get_posts_query_args()` – [#55633](https://core.trac.wordpress.org/ticket/55633)
 * Correct the return type for `wp_save_image_file()` – [#55646](https://core.trac.wordpress.org/ticket/55646)
 * Improve documentation for `WP_Image_Editor::save()` and related functions – [#55646](https://core.trac.wordpress.org/ticket/55646)
 * Use third-person singular verbs for function descriptions in Bookmark related
   files, 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 `Tests_Image_Functions`,
   per the documentation standards – [#55646](https://core.trac.wordpress.org/ticket/55646)
 * Use third-person singular verbs for function descriptions in `Tests_Sitemaps_wpSitemapsPosts`,
   as per docblock standard – [#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 docblock standards – [#55646](https://core.trac.wordpress.org/ticket/55646)

### Editor

 * Add utility classnames back to blocks that have layout attributes specified –
   [#56058](https://core.trac.wordpress.org/ticket/56058)
 * Universalize functions for checking 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 status – [#51819](https://core.trac.wordpress.org/ticket/51819)

### 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.3 – [#56016](https://core.trac.wordpress.org/ticket/56016)

### General

 * Revert an earlier define of the `WPINC` constant in `src/index.php` – [#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/27/a-week-in-core-june-27-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

### Media

 * Use correct escaping function for URLs in some legacy media functions – [#56064](https://core.trac.wordpress.org/ticket/56064)

### Posts, Post Types

 * Add caching to `_find_post_by_old_slug` and `_find_post_by_old_date` functions.–
   [#36723](https://core.trac.wordpress.org/ticket/36723)

### 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/)󠁿

 * Move all links to prepare_links method in theme REST API controller – [#56018](https://core.trac.wordpress.org/ticket/56018)

### Sitemaps

 * Remove duplicate sticky Posts from Sitemap Post Query – [#55633](https://core.trac.wordpress.org/ticket/55633)

### Themes

 * Add actions to template loading to assist with collecting debug info – [#54541](https://core.trac.wordpress.org/ticket/54541)

### Upgrade/Install

 * Add a conditional to facilitate testing of the Rollbacks feature project – [#56057](https://core.trac.wordpress.org/ticket/56057),
   [#51857](https://core.trac.wordpress.org/ticket/51857), [#54166](https://core.trac.wordpress.org/ticket/54166)

## Props

**Thanks to the 43 people who contributed to WordPress Core on Trac last week:**
[@jrf](https://profiles.wordpress.org/jrf/) (9), [@SergeyBiryukov](https://profiles.wordpress.org/sergeybiryukov/)(
9), [@costdev](https://profiles.wordpress.org/costdev/) (5), [@hellofromTonya](https://profiles.wordpress.org/hellofromtonya/)(
4), @pbeane (4), [@antonvlasenko](https://profiles.wordpress.org/antonvlasenko/)(
4), [@ironprogrammer](https://profiles.wordpress.org/ironprogrammer/) (4), [@audrasjb](https://profiles.wordpress.org/audrasjb/)(
4), [@peterwilsoncc](https://profiles.wordpress.org/peterwilsoncc/) (4), [@afragen](https://profiles.wordpress.org/afragen/)(
3), [@johnbillion](https://profiles.wordpress.org/johnbillion/) (3), [@mukesh27](https://profiles.wordpress.org/mukesh27/)(
2), [@Spacedmonkey](https://profiles.wordpress.org/spacedmonkey/) (2), [@desrosj](https://profiles.wordpress.org/desrosj/)(
2), [@swissspidy](https://profiles.wordpress.org/swissspidy/) (2), [@pbiron](https://profiles.wordpress.org/pbiron/)(
2), [@dd32](https://profiles.wordpress.org/dd32/) (1), [@pbearne](https://profiles.wordpress.org/pbearne/)(
1), [@jorbin](https://profiles.wordpress.org/jorbin/) (1), [@ethitter](https://profiles.wordpress.org/ethitter/)(
1), [@flixos90](https://profiles.wordpress.org/flixos90/) (1), [@tabrisrp](https://profiles.wordpress.org/tabrisrp/)(
1), [@rmccue](https://profiles.wordpress.org/rmccue/) (1), [@RavanH](https://profiles.wordpress.org/ravanh/)(
1), [@aristath](https://profiles.wordpress.org/aristath/) (1), [@zieladam](https://profiles.wordpress.org/zieladam/)(
1), [@yannielsen](https://profiles.wordpress.org/yannielsen/) (1), [@craigfrancis](https://profiles.wordpress.org/craigfrancis/)(
1), [@davidbaumwald](https://profiles.wordpress.org/davidbaumwald/) (1), [@juliemoynat](https://profiles.wordpress.org/juliemoynat/)(
1), @bhrugesh96 (1), [@sabernhardt](https://profiles.wordpress.org/sabernhardt/)(
1), [@tellyworth](https://profiles.wordpress.org/tellyworth/) (1), [@iandunn](https://profiles.wordpress.org/iandunn/)(
1), [@apokalyptik](https://profiles.wordpress.org/apokalyptik/) (1), [@hasanuzzamanshamim](https://profiles.wordpress.org/hasanuzzamanshamim/)(
1), [@smit08](https://profiles.wordpress.org/smit08/) (1), [@glendaviesnz](https://profiles.wordpress.org/glendaviesnz/)(
1), [@andrewserong](https://profiles.wordpress.org/andrewserong/) (1), [@matveb](https://profiles.wordpress.org/matveb/)(
1), [@samikeijonen](https://profiles.wordpress.org/samikeijonen/) (1), [@Presskopp](https://profiles.wordpress.org/presskopp/)(
1), and [@Synchro](https://profiles.wordpress.org/synchro/) (1).

**Congrats and welcome to our new contributor of the week:** [@yannielsen](https://profiles.wordpress.org/yannielsen/)
♥️

**Core committers:** [@sergeybiryukov](https://profiles.wordpress.org/sergeybiryukov/)(
24), [@desrosj](https://profiles.wordpress.org/desrosj/) (7), [@audrasjb](https://profiles.wordpress.org/audrasjb/)(
7), [@azaozz](https://profiles.wordpress.org/azaozz/) (4), [@davidbaumwald](https://profiles.wordpress.org/davidbaumwald/)(
2), [@johnbillion](https://profiles.wordpress.org/johnbillion/) (2), [@spacedmonkey](https://profiles.wordpress.org/spacedmonkey/)(
2), and [@jorbin](https://profiles.wordpress.org/jorbin/) (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/27/a-week-in-core-june-27-2022/?share=threads)
 * [  Mastodon ](https://make.wordpress.org/core/2022/06/27/a-week-in-core-june-27-2022/?share=mastodon)
 * [  Bluesky ](https://make.wordpress.org/core/2022/06/27/a-week-in-core-june-27-2022/?share=bluesky)
 * [  X ](https://make.wordpress.org/core/2022/06/27/a-week-in-core-june-27-2022/?share=x)
 * [  Facebook ](https://make.wordpress.org/core/2022/06/27/a-week-in-core-june-27-2022/?share=facebook)
 * [  LinkedIn ](https://make.wordpress.org/core/2022/06/27/a-week-in-core-june-27-2022/?share=linkedin)

# Post navigation

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

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