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 July 5 and July 12, 2021.
- 49 commits
- 44 contributors
- 67 tickets created
- 28 tickets reopened
- 62 tickets closed
Please note that the WordPress Core team released WordPress 5.8 RC 2 last week. Everyone is welcome to help testing the next major 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. of WordPress 🌟
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 assertions to ensure version-controlled files are not modified during CI, and fix the
grunt clean
command – #53606 - Replace
assertInternalType()
usage in unit tests – #53491, #46149 - Use caching built into
actions/setup-node
– #53584 - Add missed file update in [51370] – #53497
- Expand tests for
get_block_editor_settings()
– #53458 - Move loading compatibility layers for PHPUnit 6+ and 7.5+ closer together – #53363
- Update the
wp-api-generated.js
fixture – #53606 - Use more appropriate assertions in various tests – #53123, #53363
- Use more appropriate assertions in various tests – #53363
- Use more appropriate assertions in various tests – #53363
- Use more appropriate assertions in various tests – #53363
- Use more appropriate assertions in various tests – #53363
- Use more appropriate assertions in various tests – #53363
Bundled Themes
- Correct
customzier
typo – #53598 - Correct comment formatting in
inc/block-patterns.php
– #53359, #52627 - Update 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. patterns to match the latest versions of
core/*
blocks – #53617 - Remove inline comment that is not relevant in WordPress Core – #53576
- Remove mention of “FSE” in Core – #53497
- Twenty Fifteen: Use strict comparison in
inc/custom-header.php
– #53359
Coding Standards
- Only check collation in
wpdb
methods if the query is not empty – #53635 - Add missing semicolon to
endforeach
keywords in media templates – #46103 - Fix WPCS A public benefit corporation and a subsidiary of the WordPress Foundation, established in 2016. issue in [51404] – #53363
- Fix WPCS issues in [51367] – #53363
- Remove wrapping HTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. tags from translatable strings – #53359
- Rename the
$ID
variable to $user_id
in wp_insert_user()
and wp_update_user()
– #53359
Customizer Tool built into WordPress core that hooks into most modern themes. You can use it to preview and modify many of your site’s appearance settings.
Documentation
- Correct the
@since
tag A directory in Subversion. WordPress uses tags to store a single snapshot of a version (3.6, 3.6.1, etc.), the common convention of tags in version control systems. (Not to be confused with post tags.) for the user_erasure_fulfillment_email_headers
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. – #44314, #53461 - Miscellaneous docblock (phpdoc, xref, inline docs) improvements – #53399
- Some documentation improvements for
wp_check_widget_editor_deps()
– #53437, #53569 - Update the IRC Internet Relay Chat, a network where users can have conversations online. IRC channels are used widely by open source projects, and by WordPress. The primary WordPress channels are #wordpress and #wordpress-dev, on irc.freenode.net. link from Freenode to Libera.chat – #53590
Editor
- Merge conflicting wp.editor objects into single, non-conflicting object – #53437
- Fix for theme.json JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML.: color.duotone and spacing.units should allow empty sets – #53175
- Update packages with latest fixes for 5.8 RC2 – #53397
- Update packages with latest fixes for 5.8 RC2 – #53397
- TinyMCE: ensure initialization runs in all cases on ‘interactive’ and ‘complete’ readyState. Fixes a rare bug A bug is an error or unexpected result. Performance improvements, code optimization, and are considered enhancements, not defects. After feature freeze, only bugs are dealt with, with regressions (adverse changes from the previous version) being the highest priority. when the init code is inserted in the DOM after the page has finished loading – #53632
Help/About
- Update placeholder links on About page – #52775
- Update the About section for 5.8 – #52775
Internationalization
- Correct recurring
lenghts
typo – #53600 - Translate
_doing_it_wrong()
messages in wp_check_widget_editor_deps()
– #53437, #53569
Multisite Used to describe a WordPress installation with a network of multiple blogs, grouped by sites. This installation type has shared users tables, and creates separate database tables for each blog (wp_posts becomes wp_0_posts). See also network, blog, site
- Log error/warnings/notices from
ms-files.php
– #53493
Posts
- Allow the list of wrapper blocks to be filtered – #53604
- Fix Spelling in inline docs (phpdoc, docblock, xref) – [23105], [51375], #53604
- Prevent an empty excerpt An excerpt is the description of the blog post or page that will by default show on the blog archive page, in search results (SERPs), and on social media. With an SEO plugin, the excerpt may also be in that plugin’s metabox. when groups and nested column blocks are present – #53604
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/.
- Add the
$request
parameter to methods checking permissions – #53593 - Ensure a sidebar A sidebar in WordPress is referred to a widget-ready area used by WordPress themes to display information that is not a part of the main content. It is not always a vertical column on the side. It can be a horizontal rectangle below or above the content area, footer, header, or any where in the theme.’s widgets property is a list – #53612
Script Loader
- Update jQuery version to 3.6.0 following the update in [50520] – #52707
Users
- Return earlier from
wp_update_user()
in case of error – #53627
Widgets
- Use
wp_sidebar_description()
to retrieve a sidebar’s description
– #53646
Widgets
- Warn when
wp-editor
script or wp-edit-post
style is enqueued in widgets editor – #53437, #53569
Props
Thanks to the 44 people who contributed to WordPress Core on Trac last week: @audrasjb (4), @SergeyBiryukov (4), @desrosj (4), @aristath (3), @zieladam (3), @johnbillion (2), @ntsekouras (2), @jorbin (2), @nosolosw (2), @andraganescu (2), @TimothyBlynJacobs (2), @spacedmonkey (2), @timothyblynjacobs (2), @sabernhardt (2), @kapilpaul (2), @jrf (2), @isabel_brison (1), @johnjamesjacoby (1), @pbearne (1), @empatogen (1), @gziolo (1), @mikaelmayer (1), @spytzo (1), @hellofromTonya (1), @alanjacobmathew (1), @ryokuhi (1), @javiarce (1), @kellychoffman (1), @chanthaboune (1), @stevehenty (1), @iandunn (1), @peterwilsoncc (1), @kevin940726 (1), @felipeelia (1), @Collizo4sky (1), @walbo (1), @azaozz (1), @youknowriad (1), @vishitshah (1), @dlh (1), @mukesh27 (1), @nielslange (1), @mikeschroder (1), and @dd32 (1).
Congrats and welcome to our 2 new contributors of the week! @mikaelmayer and @spytzo ♥️
Core committers: @sergeybiryukov (19), @desrosj (13), @johnbillion (3), @noisysocks (2), @jorbin (2), @ryelle (2), @azaozz (1), @mikeschroder (1), @jorgefilipecosta (1), @ocean90 (1), @timothyblynjacobs (1), @peterwilsoncc (1), @iandunn (1), and @youknowriad (1).
#5-8, #week-in-core