Welcome back to a new issue of Week in Core 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 Trac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. between February 21 and February 28, 2022.
- 24 commits
- 46 contributors
- 66 tickets created
- 6 tickets reopened
- 50 tickets closed
Last week, the Core Team rolled out the WordPress 5.9.1 Maintenance Release 🚀
The Core team is currently working on the next minor release A set of releases or versions having the same minor version number may be collectively referred to as .x , for example version 5.2.x to refer to versions 5.2, 5.2.1, 5.2.3, and all other versions in the 5.2 (five dot two) branch of that software. Minor Releases often make improvements to existing features and functionality., WP 5.9.2, and on the next major, WP 6.0 🛠
Ticket 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
- Consistency fixes on keyboard shortcuts instructions – #40582
- Further enhancements on small text fields after [52649] – #50177
Code Modernization
- Check the return type of
wp_parse_url()
in wp_mail()
– #54730
Docs
- Add missing descriptions for some parameters of
WP_Walker::paged_walk()
– #55225 - Correct return type for
get_block_metadata_i18n_schema()
– #55243, #54729 - Correct return type for
get_post_custom()
– #55249, #54729 - Use third-person singular verbs for function descriptions in
wp-includes/formatting.php
– #54729
External Libraries
- Upgrade PHPMailer to version 6.6.0 – #55277
Filesystem API 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.
- Include the
ssh-ed25519
public key signature algorithm as an alternative to ssh-rsa
– #52409
- Make terms in
wpautop()
and shortcode_unautop()
more welcoming and inclusive – #25615
I18N 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.
- Add a
$locale
parameter for remove_accents()
– #54415
- Make
get_post_galleries()
only return galleries – #55203 - Stop arrow keys switching media if URL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org focused – #43202
- Use consistent mirroring check in media views – #53856
Plugins
- Add focus style to plugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party icon link in plugin cards – #45209
Query
- Correct the “matched rule” condition in
WP::parse_request()
– #55222
Query
- Preinitialize the
WP
class properties to their default values – #55222
REST 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/.
- Pass
WP_REST_Request
object to the rest_index filter Filters are one of the two types of 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.. – #48638.
Tests
- Add a
@ticket
reference for the current_theme_supports-{$feature}
filter test – #54725 - Rename the
$success
variable to $result
in the wp_mail()
test for an empty home URL – #54730
Themes
- Avoid undefined variable warning on
get_svg_filters()
– #55241 - Remove the Live Preview link when installing a block 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. theme from a zip archive – #54578
Props
Thanks to the 46 people who contributed to WordPress Core on Trac last week: @SergeyBiryukov (7), @audrasjb (5), @hellofromTonya (3), @jrf (2), @afercia (2), @jeremyfelt (2), @ironprogrammer (2), @sabernhardt (2), @dd32 (2), @hasanuzzamanshamim (1), @chouby (1), @bhrugesh12 (1), @jrivett (1), @joemcgill (1), @rafiahmedd (1), @aliakseyenkaihar (1), @TimothyBlynJacobs (1), @hitendra-chopda (1), @themattroyal (1), @imokol (1), @ricomoorman (1), @tzipporahwitty (1), @peterwilsoncc (1), @Viper007Bond (1), @Spacedmonkey (1), @BinaryMoon (1), @johnregan3 (1), @richybkreckel (1), @miken32 (1), @malthert (1), @johnbillion (1), @knutsp (1), @ocean90 (1), @Presskopp (1), @joyously (1), @MMDeveloper (1), @glendaviesnz (1), @alanjacobmathew (1), @antonvlasenko (1), @kebbet (1), @pyrobd (1), @dennisatyoast (1), @azouamauriac (1), @Synchro (1), @costdev (1), and @rmccue (1).
Congrats and welcome to our 10 (!) new contributors of the week: @bhrugesh12, @jrivett, @aliakseyenkaihar, @themattroyal, @imokol, @ricomoorman, @tzipporahwitty, @richybkreckel, @miken32, and @dennisatyoast ♥️
Core committers: @sergeybiryukov (10), @audrasjb (10), @joedolson (2), @spacedmonkey (1), and @hellofromtonya (1).
#5-9, #6-0, #core, #week-in-core