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 August 9 and August 16, 2021.
- 33 commits
- 31 contributors
- 43 tickets created
- 5 tickets reopened
- 37 tickets closed
Pending the appointment of the WordPress 5.9 team, a number of tickets have been fixed, waiting for 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.(s).
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
Build/Test Tools
- Add schema reference to PHPUnit config files – #53363
- Declare two TestCase classes as abstract – #53363
- Enable running the tests on PHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher 8.1 – #53891, #53635
- Hard deprecate
WP_UnitTestCase_Base::checkRequirements()
– #46149 - Hard deprecate
WP_UnitTestCase_Base::checkRequirements()
– #46149 - Make the polyfills loading more flexible – #46149
- Remove Unicode character from PHPUnit version check message – #53363
- Revert [51602] for now to investigate test failures on PHPUnit < 7.0 – #46149
- Simplify the PHPUnit test workflow – #53891
- Add unit tests for the
wp_nonce_ays()
function – #53882 - Fix failing 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. unit tests for 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. metadata – Follow up for #53238
- Rename classes in
phpunit/tests/formatting/
per the naming conventions – #53363 - Use correct comparison in
do_enclose()
tests – #53635
Code Modernization
- Check the return type of
_get_cron_array()
in wp_schedule_event()
– #53635 - Check the return type of
parse_url()
in WP::parse_request()
– #53635 - Correct handling of
null
in wp_parse_str()
– #53635 - Rename the
readonly()
function to wp_readonly()
– #53858 - Replace
strftime()
and gmstrftime()
usage in unit tests – #53897 - Silence the deprecation warning for missing return type in
phpunit/tests/compat.php
– #53635
Documentation
- Add a
@see
reference to the wp_mail_content_type
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. in wp_staticize_emoji_for_email()
– #53399 - Add a
@see
reference to the xmlrpc_enabled
filter in wp_xmlrpc_server::set_is_enabled()
– #53399 - Correct
@since
version for the wp_parse_str
filter – #53399 - Fix typo in the
get_block_editor_settings()
description – #53922 - Improve documentation for a few functions per the documentation standards – #53399
- Synchronize documentation for
wp_get_attachment_image_attributes
filter callbacks in bundled themes – #53878
Editor
- Preserve the original template keys when preparing a list of page templates – #53898
- Add support for
variations
in block.json
file – #53238
General
- Restore (un-deprecate) the
sanitize_url()
function – #53876
Themes
- Make sure the theme 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. response is not an error before operating on it in
themes_api()
– #53913 - Twenty Seventeen: Add support for
wa.me
links in Social Links menu – #51946 - Twenty Twenty: Add support for
wa.me
links in Social menu – #50542
Upgrade/Install
- Update sodium_compat to v1.17.0 – #53907
- Use consistent capitalization for “web host” in setup messages – #53926
Props
Thanks to the 31 people who contributed to WordPress Core on Trac last week: @jrf (17), @SergeyBiryukov (7), @swissspidy (4), @hellofromTonya (4), @pbearne (3), @sabernhardt (3), @mukesh27 (3), @lucatume (2), @Ipstenu (1), @thomasplevy (1), @Toro_Unit (1), @aadilali (1), @Mamaduka (1), @jorgefilipecosta (1), @youknowriad (1), @ayeshrajans (1), @haosun (1), @jeherve (1), @desrosj (1), @schlessera (1), @gwwar (1), @pierlo (1), @ankitmaru (1), @bradparbs (1), @tmatsuur (1), @dkarfa (1), @carepsules (1), @macmanx (1), @pedromendonca (1), @iluy (1), and @knutsp (1).
Congrats and welcome to our 3 new contributors of the week! @aadilali, @carepsules, and @iluy ♥️
Core committers: @sergeybiryukov (31), and @gziolo (2).
#5-8-1, #5-9, #core, #week-in-core
You must be logged in to post a comment.