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 31 and August 14, 2023.
- 40 commits
- 50 contributors
- 164 tickets created
- 15 tickets reopened
- 138 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
Build/Test Tools
- Bump the required versions of Node.js and npm – #56658
- Correct two
@covers
annotations to use the recommended pattern – #59069
- Update 3rd-party GitHub GitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. https://github.com/ Actions – #58867
- Update all build tool related dependencies – #58863
- Update the README file to reflect new Node.js/npm versions – #59071, #56658
- revert downgrade of uuid – #58623
- Fix leakage in WP_List_Table tests – #58955, #58896
Code Modernization
- Deprecate dynamic properties in WP_List_Table magic methods – #58896, #56034
- Deprecate dynamic properties in WP_Text_Diff_Renderer_Table magic methods – #58898, #56034
- Deprecate dynamic properties in WP_User_Query magic methods – #58897, #56034
- Use “declare” in WP_List_Table magic methods deprecation message – #58896
Coding Standards
- Bring more consistency to
Last-Modified
and ETag
checks – #58831
- Rewrite loose comparison in
wp_list_categories()
– #58831
- Use
instanceof
keyword instead of the is_a()
function – #58943
- Use strict comparison in
wp-admin/includes/class-wp-importer.php
– #58831
- Use strict comparison in
wp-includes/class-wp-image-editor.php
– #58831
- Use strict comparison in
wp-includes/class-wp.php
– #58831
- Use strict comparison in
wp-includes/cron.php
– #58831
- Use strict comparison in
wp-includes/kses.php
– #58831
- Use strict comparison in
wp-includes/revision.php
– #58831
Docs
- Correct duplicate hook reference for
wp_min_priority_img_pixels
– #59067
- Remove
@see
references for SimplePie classes – #59030
Editor
- Only exclude auto-generated 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. files from coding standards checks – #50010
- Simplify usage of
block_has_support()
function by supporting a string – #58532
Embeds
- Modernize wp-embed script with removal of obsolete IE10/IE11 code and support for WP 4.4 and below – #58974
Emoji
- Suppress console errors from sessionStorage usage in sandboxed post embed iframe iFrame is an acronym for an inline frame. An iFrame is used inside a webpage to load another HTML document and render it. This HTML document may also contain JavaScript and/or CSS which is loaded at the time when iframe tag is parsed by the user’s browser. – #58978, #58472
External Libraries
- Update Backbone.js to version
1.5.0
– #58930
- Update imagesLoaded to version
5.0.0
– #56731
- Update the
whatwg-fetch
polyfill library – #59066
HTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. 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.
- Add support for BUTTON element – #58961
- Adjust code styling to Gutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/’s linter’s preferences – #58918
- Fix missing * for docblock (phpdoc, xref, inline docs) – #58918. – #59010
Media
- Simplify logic in
wp_get_loading_optimization_attributes()
– #58891
Options, Meta Meta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress. APIs
- Expand
$autoload
parameter documentation – #58963
Script Loader
- Use defer loading strategy for wp-embed script and move to head (in block themes) – #58931
Site Health
- Use
PHP_SAPI
constant instead of the php_sapi_name()
function – #58942
Themes
Upgrade/Install
- Update
$_old_files
for 6.3 – #58994
Users
- Correct the logic for
switch_to_blog()
in WP_User_Query::generate_cache_key()
– #59011
Props
Thanks to the 50 people who contributed to WordPress Core on Trac last week:
@sergeybiryukov (13), @aristath (7), @rajinsharwar (7), @afercia (7), @poena (7), @costdev (6), @jrf (5), @antonvlasenko (5), @hellofromTonya (5), @mukesh27 (5), @audrasjb (5), @peterwilsoncc (4), @swissspidy (4), @desrosj (4), @hareesh-pillai (3), @ayeshrajans (3), @dmsnell (3), @flixos90 (3), @westonruter (3), @markjaquith (3), @oglekler (3), @jeffpaul (3), @thekt12 (2), @nihar007 (2), @nazsabuz (1), @arnedb (1), @Hareesh (1), @spacedmonkey (1), @Pillai (1), @JeffPaul (1), @joemcgill (1), @davidbaumwald (1), @crstauf (1), @kevin940726 (1), @khokansardar (1), @Rahe (1), @adamsilverstein (1), @valmedia2023 (1), @dantovbein (1), @hbhalodia (1), @tmatsuur (1), @felixarntz (1), @gziolo (1), @ahmedgeek (1), @dd32 (1), @austinginder (1), @RavanH (1), @lopo (1), @youknowriad (1), and @rmccue (1).
Congrats and welcome to our 5 new contributors of the week: @nazsabuz, @arnedb, @valmedia2023, @dantovbein, @ahmedgeek ♥️
Core committers: @sergeybiryukov (14), @desrosj (7), @hellofromtonya (5), @flixos90 (4), @westonruter (3), @bernhard-reiter (2), @johnbillion (1), @oandregal (1), @jorbin (1), @davidbaumwald (1), and @isabel_brison (1).
#6-3, #6-4, #core, #week-in-core