Welcome back to a new issue of Week in Core. Let’s take a look at what changed on Trac 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(s).
Ticket 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 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 unit tests for block 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 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 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
Can you clarify why not, for those of us who don’t have access to Slack?
hslais supported in all browsers, even IE9Sure! I asked about switching to
hslain a chat last year and @youknowriad posted the following response:And @ryelle posted this response in last week’s chat: