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 8 and August 15, 2022.
- 35 commits
- 61 contributors
- 35 tickets created
- 3 tickets reopened
- 31 tickets closed
The Core team is currently working on 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., WP 6.1 🛠
The team has also started working on Twenty Twenty-Three, the next bundled theme that will be included with WP 6.1 🎨
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
- Improve performance of List Tables – #34564
Application Passwords
- Allow a Super Admin (and super admin) to set an application password on a site they’re not a member of – #53224
Build/Test Tools
- Add @covers tags to the comments tests – #39265
- Add @covers tags to the import tests – #39265
- Add @covers tags to the l10n Localization, or the act of translating code into one's own language. Also see internationalization. Often written with an uppercase L so it is not confused with the capital letter i or the numeral 1. WordPress has a capable and dynamic group of polyglots who take WordPress to more than 70 different locales. and 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. tests – #39265
- Add @covers tags to the options tests – #39265
- Move the Memcached container into the Docker Compose config – #55700
- Bring some consistency to serialization tests – #55652
- Use named data provider for
is_serialized_string()
tests – #55652
- Update @covers tags for the load tests – #39265
Bundled Themes
- Remove closing PHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 7.4 or higher 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.) at the end of files – #40039
- Twenty Eleven: Correct inline translator comment – #40039
Coding Standards
- Rename the
$file
parameter to $path
in some WP_Filesystem_*
methods – #55647
- Restore correct regex formatting in
dbDelta()
– #55647
Database
- Ignore display width for integer data types in
dbDelta()
on MySQL MySQL is a relational database management system. A database is a structured collection of data where content, configuration and other options are stored. https://www.mysql.com/. 8.0.17 or later – #49364, #51740
Docs
- Clarify that
register_taxonomy()
only accepts lowercase values for the $taxonomy
parameter – #56352, #55646
- Consistently document the
$excluded_terms
variable in get_adjacent_post()
– #56348
- Correct and improve the documented types for various functions and hooks In WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same. – #55646
- Miscellaneous inline documentation improvements – #55646
- Remove code tags from WordPress function names within inline documentation – #55646
- Revert two changes that need to instead be made upstream in the 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/ repo – #55646
- Use third-person singular verbs for function descriptions in
wp-includes/functions.php
, as per docblocks standards – #55646
- Various docblock (phpdoc, xref, inline docs) fixes in Core 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. 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., as per docs standards – #55646
Editor
- Document the arguments for registering 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. style – #55646
Formatting
- Add support for Enums in
is_serialized()
– #53299
General
- Add required fields helper functions for better reusability – #54394
I18N
- Introduce
WP_Textdomain_Registry
to store text domains and their language directory paths – #26511, #39210
Login and Registration
- Introduce
is_login_screen()
function – #19898
Media
- Cache parent posts in query-attachments AJAX endpoint – #56037
Posts, Post Types
- Prevent categories from being overwritten when updating a post using
wp_insert_post()
– #19954
Query
- Be better at forcing data types for query vars – #17737
Taxonomy
- Add a test file that was missed in [53893] – #56215
- Introduce the
is_term_publicly_viewable()
function – #56215
- Prevent non string taxonomy names generating warnings or errors – #56338, #56336
XML-RPC
- Correct the documented arguments for XML-RPC server methods – #55646
Props
Thanks to the 61 people who contributed to WordPress Core on Trac last week: @costdev (11), @SergeyBiryukov (9), @pbearne (6), @ironprogrammer (5), @patopaiar (5), @hellofromTonya (5), @jrf (5), @antonvlasenko (5), @peterwilsoncc (4), @audrasjb (4), @mukesh27 (3), @johnbillion (3), @desrosj (3), @sabernhardt (3), @dd32 (3), @nacin (2), @leewillis77 (2), @yahil (1), @ocean90 (1), @milindmore22 (1), @vishalkakadiya (1), @NomNom99 (1), @manishsongirkar36 (1), @yoavf (1), @swissspidy (1), @juliobox (1), @bengreeley (1), @dipakparmar443 (1), @grapplerulrich (1), @bobbingwide (1), @johnjamesjacoby (1), @chaion07 (1), @mikeschroder (1), @mxbclang (1), @spacedmonkey (1), @JavierCasares (1), @netweb (1), @markoheijnen (1), @georgestephanis (1), @dcowgill (1), @dave1010 (1), @tellyworth (1), @johnregan3 (1), @ryokuhi (1), @joedolson (1), @ayeshrajans (1), @konradyoast (1), @dennisatyoast (1), @albatross10 (1), @scribu (1), @ilovecats7 (1), @donmhico (1), @iandunn (1), @wonderboymusic (1), @robmiller (1), @chriscct7 (1), @tazotodua (1), @davidbaumwald (1), @xknown (1), @TimothyBlynJacobs (1), and @kitchin (1).
Congrats and welcome to our 3 new contributors of the week: @dipakparmar443, @dave1010, @albatross10 ♥️
Core committers: @johnbillion (12), @sergeybiryukov (6), @audrasjb (6), @azaozz (5), @peterwilsoncc (2), @desrosj (2), @swissspidy (1), and @ocean90 (1).
#6-1, #core, #week-in-core