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 May 1 and May 8, 2023.
- 24 commits
- 56 contributors
- 46 tickets created
- 9 tickets reopened
- 49 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
- Fix the permissions that are granted to the 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/. notifications workflow – #57865
- Restrict the permissions granted to jobs on 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 – #57865
Cache 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 helper function
wp_cache_set_last_changed
– #57905
Code Modernization
- Replace usage of
strpos()
with str_starts_with()
– #58012
Coding Standards
- Bring more consistency to PHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 7.4 or higher 8.0 string function polyfills – #57839
- Remove unnecessary variable escapement in Bookmark Administration API – #58239
Docs
- Correct and improve inline docs (phpdoc, docblock, xref) relating to the style engine – #57840
- Correct the placement of
@see
tags in WP_HTML_Tag_Processor
class – #58254
- Corrections and improvements to docblocks for global styles, global settings, 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. parsing, and shortcodes – #57840
- Improve formatting of markup in the docs for
WP_HTML_Tag_Processor
– #57840
- Miscellaneous formatting corrections to inline docs and whitespace – #57840
- Remove
@return void
from various DocBlocks – #57840
- Update code examples formatting in
WP_HTML_Tag_Processor
documentation – #58028
- Various improvements in Bookmark Administration API function descriptions, as per docblocks standards – #57840
Filesystem API
- Correct and improve the return type documentation for the
dirlist()
method in WP_Filesystem_Base
and its extending classes – #58229, #57840
General
- Restore
strpos()
check in wp-admin/load-styles.php
– #58244, #58012
HTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. API
- Accumulate shift for internal parsing pointer – #58179
- Adjust coding style to pass 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/ linter – #58250
- Restore mistakenly-removed content in documentation – #58256, #57840
Help/About
- Left-align 6.2 about page subheading – #57387
Post Types
- Add the view_items label to the wp_block post type – #58209
Script Loader
- Update jQuery version to 3.6.4 to match the current version – #58203, #57324
Taxonomy A taxonomy is a way to group things together. In WordPress, some common taxonomies are category, link, tag, or post format. https://codex.wordpress.org/Taxonomies#Default_Taxonomies.
- Remove redundant call to
get_term
in wp_queue_posts_for_term_meta_lazyload
– #57966
Upgrade/Install
- Create a temporary backup of plugins and themes before updating – #51857
Props
Thanks to the 56 people who contributed to WordPress Core on Trac last week: @costdev (5), @dmsnell (5), @johnbillion (5), @audrasjb (5), @sergeybiryukov (4), @mukesh27 (4), @desrosj (3), @TobiasBg (3), @spacedmonkey (3), @peterwilsoncc (2), @sabernhardt (2), @dd32 (2), @azaozz (2), @ayeshrajans (1), @mat-lipe (1), @ignatggeorgiev (1), @shagors (1), @johnjamesjacoby (1), @tillkruess (1), @amin7 (1), @pavanpatil1 (1), @szepeviktor (1), @jorbin (1), @nickpap (1), @dhrumilk (1), @flixos90 (1), @DigTek (1), @zieladam (1), @jrf (1), @utsav72640 (1), @lgadzhev (1), @thisisyeasin (1), @juanmaguitar (1), @davidbaumwald (1), @mikeschroder (1), @afragen (1), @pbiron (1), @hellofromTonya (1), @aristath (1), @TJNowell (1), @bronsonquick (1), @Clorith (1), @poena (1), @TimothyBlynJacobs (1), @a2hosting (1), @chaion07 (1), @KZeni (1), @galbaras (1), @richards1052 (1), @Boniu91 (1), @mai21 (1), @francina (1), @coffee2code (1), @noisysocks (1), @dlh (1), @joemcgill (1).
Congrats and welcome to our 5 new contributors of the week: @shagors, @nickpap, @DigTek, @lgadzhev, @thisisyeasin ♥️
Core committers: @sergeybiryukov (7), @johnbillion (7), @audrasjb (5), @bernhard-reiter (2), @spacedmonkey (2), @afercia (1).
#6-3, #core, #week-in-core