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 14 and August 21, 2023.
- 27 commits
- 34 contributors
- 64 tickets created
- 6 tickets reopened
- 50 tickets closed
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
- Add function to standardize admin (and super admin) notices – #57791
- Apply admin notice functions in 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 – #57791
- Invalid A resolution on the bug tracker (and generally common in software development, sometimes also notabug) that indicates the ticket is not a bug, is a support request, or is generally invalid. argument passed in additional_classes – #57791
Build/Test Tools
- Don’t send a Slack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/. notice when a workflow fails once – #58867
- Measure additional load time metrics in performance tests – #58360
- Revert Slack messaging changes – #58867
- Send a failure notice in Slack when a run fails to start – #58867
- Simplify the required prerequisite jobs for the
failed-workflow
job – #58867
- Update PHPUnit Polyfills to version 1.1.0 – #59150
- Use the correct variable for checking the previous conclusion – #58867
Coding Standards
- Improve variable names in
wp_save_image()
– #58831
- Use strict comparison in
wp-admin/includes/image-edit.php
– #58831
- Use strict comparison in
wp-admin/includes/meta-boxes.php
– #58831
Docs
- Add missing
@
to the return 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.) in the wp_get_theme_data_template_parts
function – #59003
- Correct punctuation in some instances of the
$crop
parameter description – #58833
- Fix typo in duplicate hook references for
views_{$this->screen->id}
– #59102, #58833
- Miscellaneous docblock (phpdoc, xref, inline docs) corrections and improvements – #58833
Editor
- Ensure defer loading strategy is only applied to 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.’s viewScript – #59115
- Fix error handling of converting classic to block menus – #58823
- Use defer loading strategy for block view scripts – #59115
- update npm packages with critical 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. fixes for 6.3.1 – #59151
General
- Revert the last use of
str_starts_with()
in update-core.php
– #59145
Media
- Standardise documentation of the
$crop
parameter for various media functions and methods – #58833
Posts, Post Types
- Remove redundant function calls in
get_body_class()
– #43661
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/.
- Correct the docblocks for various permission related methods – #58833
Site Health
- Correct the check for disk space available to safely perform updates – #59116
Themes
- Add
wp_get_theme_data_custom_templates
function – #59137
Props
Thanks to the 50 people who contributed to WordPress Core on Trac last week:
@sergeybiryukov (3), @costdev (2), @aristath (2), @joedolson (2), @audrasjb (2), @johnbillion (2), @afercia (2), @poena (2), @joemcgill (2), @mukesh27 (2), @westonruter (2), @flixos90 (1), @gziolo (1), @oandregal (1), @rajinsharwar (1), @youknowriad (1), @swissspidy (1), @nithins53 (1), @Presskopp (1), @mathsgrinds (1), @mattkeys (1), @sabernhardt (1), @dasnitesh780 (1), @sakibmd (1), @spacedmonkey (1), @ramonopoly (1), @ayeshrajans (1), @jrf (1), @hellofromTonya (1), @antonvlasenko (1), @get_dave (1), @dlh (1), @oglekler (1), and @NekoJonez (1).
Congrats and welcome to our new contributor of the week: @mathsgrinds ♥️
Core committers: @sergeybiryukov (8), @desrosj (5), @johnbillion (3), @joedolson (3), @oandregal (2), @westonruter (2), @hellofromtonya (1), @isabel_brison (1), @azaozz (1), and @swissspidy (1).
#6-3, #6-4, #core, #week-in-core