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 February 26 and March 4, 2024.
- 49 commits
- 70 contributors
- 54 tickets created
- 9 tickets reopened
- 102 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
- Add initial tests for the
WP_Filesystem_Direct
class – #57774
- Fix the
precommit:emoji
script – #60520, #57600
- 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 – #59805
- Use a consistent parameter name between
rand_str()
and rand_long_str()
– #60401
- Address capitalization and docblock (phpdoc, xref, inline docs) inconsistencies in some test class names – #59647
- Correct capitalization and fix typos in some test class names – #59647
- Expand
wp_parse_id_list()
unit tests – #60218, #60217, #59647
- Use
assertSame()
in post 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. revisioning tests – #59655
Bundled Theme
- Fix focus outline in Twenty Twenty-Four in the editor – #60535
Coding Standards
Customize
- Accessibility Accessibility (commonly shortened to a11y) refers to the design of products, devices, services, or environments for people with disabilities. The concept of accessible design ensures both “direct access” (i.e. unassisted) and “indirect access” meaning compatibility with a person’s assistive technology (for example, computer screen readers). (https://en.wikipedia.org/wiki/Accessibility): Label menu subitems when updating menus – #32728
Docs
- Add missing
@global
mention in wp_interactivity()
– #60677, #59651
- Correct the placement of
@global
tags in wp-includes/admin-bar.php
– #60021
- Document some globals in
wp-admin/setup-config.php
– #60021
- Document some globals in
wp-settings.php
– #60021
- Document the
$post
global in comment feed templates – #60021
- Document the
$xmlrpc_logging
global in logIO()
– #60021
- Document the usage of
$_paused_plugins
and $_paused_themes
globals – #60021
- Improve docblock for
WP_Block_Patterns_Registry::register
– #59532
- Update
WP_Query::tax_query
docblock to reflect that the property can be null
– #60563
Editor
- Prevent infinite loops when filtering the font library folder – #60652
- Simplify sanitization code path in
WP_Theme_JSON
after [57496] – #60360
- Update Packages with the latest 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.5 RC One of the final stages in the version release cycle, this version signals the potential to be a final release to the public. Also see alpha (beta). 1 – #60315, #60665
- do not expose protected post meta fields in 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. bindings – #60651
- Interactivity 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.: Rename
data_wp_context()
to wp_interactivity_data_wp_context()
– #60575
- Interactivity API: Rename
data_wp_context()
to wp_interactivity_data_wp_context()
– #60575
- Interactivity API: Revert [57742] pending a 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/ package update – #60575
General
- Revert r57698 for WP_List_Util::pluck() – #59774
- Use capital cased singular for Site Icon – #60686
HTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. API
- Ensure that breadcrumbs are properly retained after seeking – #58517, #60687
- HTML API: Remove superfluous type-coercing empty() check
Help/About
- Add images to the About page – #60303
I18N Internationalization, or the act of writing and preparing code to be fully translatable into other languages. Also see localization. Often written with a lowercase i so it is not confused with a lowercase L or the numeral 1. Often an acquired skill.
- Cast magic MO marker number to integer – #60678
- Improve docs for pomo library classes – #44424
Media
- Accessibility: Copy attachment properties on site icon crop – #60524
- Use consistent spacing for the media toolbar in both grid and list view – #43904
Plugins
- Fix an overlap issue with plugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party cards dependencies notice – #60501
- Improve plugin dependency admin (and super admin) notices – #60465
- Improve plugin dependency related error messages – #60465
- Plugin Dependencies: Don’t assume API response has a
slug
property – #60540
Privacy
- Update default privacy page content to use latest block markup – #60530
Query
- Remove leading whitespace from certain database queries – #56841
Quick/Bulk Edit
- Ensure the “All” checkbox is properly toggled in certain scenarios – #59121
Toolbar
- Polish design and code combining duplicate profile links – #43633, #34668
Props
Thanks to the 70 people who contributed to WordPress Core on Trac: @swissspidy (18), @sabernhardt (10), @costdev (8), @shailu25 (4), @upadalavipul (4), @huzaifaalmesbah (4), @joedolson (4), @youknowriad (4), @audrasjb (3), @afragen (3), @peterwilsoncc (3), @gziolo (3), @viralsampat (3), @afercia (3), @mukesh27 (3), @euthelup (2), @desrosj (2), @wildworks (2), @subrataemfluence (2), @cbravobernal (2), @ankitmaru (2), @westonruter (2), @luisherranz (2), @darerodz (2), @rcreators (2), @mmaattiiaass (2), @spacedmonkey (2), @ironprogrammer (2), @oglekler (2), @knutsp (1), @jonsurrell (1), @benjamin_zekavica (1), @richtabor (1), @laurlittle (1), @johnbillion (1), @seusmaniqbal (1), @ianbelanger (1), @pooja1210 (1), @sumitbagthariya16 (1), @devmuhib (1), @tmatsuur (1), @manooweb (1), @get_dave (1), @talldanwp (1), @kraftbj (1), @jorbin (1), @santosguillamot (1), @xknown (1), @wpfed (1), @tadamarketing (1), @harsh175 (1), @designsimply (1), @celloexpressions (1), @kushang78 (1), @hiteshtalpada (1), @webcommsat (1), @ugyensupport (1), @chaion07 (1), @Toru (1), @254volkan (1), @poena (1), @pbearne (1), @SergeyBiryukov (1), @pbiron (1), @pento (1), @hrshahin (1), @dd32 (1), @jamescollins (1), @thekt12 (1), and @joemcgill (1).
Congrats and welcome to our 5 new contributors of the week: @rcreators, @seusmaniqbal, @tadamarketing, @kushang78, @hiteshtalpada ♥️
Core committers: @swissspidy (12), @sergeybiryukov (11), @audrasjb (6), @desrosj (5), @joedolson (3), @youknowriad (3), @dmsnell (2), @davidbaumwald (1), @ryelle (1), @jorbin (1), @antpb (1), @costdev (1), @hellofromtonya (1), and @joemcgill (1).
#6-5, #core, #week-in-core