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 March 20 and April 3, 2023. Sorry for not being able to publish a post last week, this one will cover two weeks!
- 38 commits
- 76 contributors
- 120 tickets created
- 19 tickets reopened
- 86 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
- Update dashboard welcome panel colors, remove broken link – #57759
Build/Test Tools
- Fix issue with add method in object-cache.php – #57963
- Add a
@ticket
reference forwp_list_pages()
CSS Cascading Style Sheets. classes test – #57841
- Consistently sanitize expiration in the test suite’s Memcached implementation – #57841, #57963
- Fix tests introduced in [55612] – #57814
- Improve
get_pages()
tests organization – #57841
- Move
wp_dropdown_pages()
tests to their own file – #57841
- Move the
wp_list_pages()
test for CSS classes to a more appropriate place – #57841
- Rename test class and improve tests for wp_get_global_stylesheet() – #57841, #57958
- Split the tests from
post/template.php
into individual test classes – #57841
Code Modernization
Coding Standards
- Apply various alignment corrections from
composer format
– #57994
- Correct the 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.) placement in some admin (and super admin) files – #58053
- Escape some variables in
wp-admin/includes/nav-menu.php
– #57110
- Escape the whole attributes in
wp-admin/includes/nav-menu.php
– #57110
- Remove unused variable in
WP_Plugins_List_Table::single_row()
– #55132
- Use strict comparison in
wp-admin/includes/nav-menu.php
– #57318
- Use strict comparison in
wp-admin/includes/user.php
– #57317
- Use the correct variable – #57318
Comments
- Use correct escaping function in
get_cancel_comment_reply_link()
– #58025
- Use wp_cache_get_multiple in
WP_Comment_Query
– #57803
Date/Time
Docs
- Add missing
@return
tag forWP_Automatic_Updater::is_disabled()
– #57680
- Clarify the
::hide_process_failed()
return value in 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 and theme installer – #57680
- Document default values for optional parameters in
wp_insert_attachment()
– #58043
- Use typed array notation for
search_columns
inWP_Query::parse_query()
– #57996
Editor
General
- Remove Windows Live Writer manifest file – #41404
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
has_self_closing_flag()
to Tag Processor – #58009
Help/About
- Add Field Guide The field guide is a type of blogpost published on Make/Core during the release candidate phase of the WordPress release cycle. The field guide generally lists all the dev notes published during the beta cycle. This guide is linked in the about page of the corresponding version of WordPress, in the release post and in the HelpHub version page. link – #57998
- Make Field Guide link translatable – #57477
- Updates to About page – #57477
Login and Registration
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
- Improve the lazy loading meta API to include current object id – #57901
Posts, Post Types
- Use WP_Query internally in get_pages – #12821
Script Loader
- Return early in _wp_theme_json_webfonts_handler if 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. not present – #57814
Upgrade/Install
- Include the removed Windows Live Writer manifest in
$_old_files
– #41404
Props
Thanks to the 76 people who contributed to WordPress Core on Trac last week: @sergeybiryukov (9), @spacedmonkey (6), @costdev (6), @hellofromTonya (6), @jrf (5), @mukesh27 (4), @flixos90 (4), @peterwilsoncc (4), @audrasjb (3), @desrosj (3), @ocean90 (3), @patelmohip (2), @jenilk (2), @johnbillion (2), @sabernhardt (2), @davidbaumwald (2), @laurlittle (2), @richtabor (2), @akmelias (2), @sakibmd (2), @ankitmaru (1), @wlindley (1), @ayeshrajans (1), @azouamauriac (1), @mikeschinkel (1), @nacin (1), @scribu (1), @filosofo (1), @jane (1), @garyc40 (1), @markoheijnen (1), @grandslambert (1), @kevinB (1), @dbernar1 (1), @ryokuhi (1), @atimmer (1), @mdawaffe (1), @helen (1), @benjibee (1), @joemcgill (1), @andraganescu (1), @get_dave (1), @mamaduka (1), @ntsekouras (1), @scruffian (1), @talldanwp (1), @jhabdas (1), @ironprogrammer (1), @tillkruess (1), @francina (1), @chintan1896 (1), @zenaulislam (1), @javiercasares (1), @oglekler (1), @clorith (1), @eboxnet (1), @wpfy (1), @vladytimy (1), @reputeinfosystems (1), @Rarst (1), @priethor (1), @nekojonez (1), @markjaquith (1), @codingchicken (1), @cbringmann (1), @tmatsuur (1), @joostdevalk (1), @faisalahammad (1), @zieladam (1), @dmsnell (1), @wtranch (1), @polevaultweb (1), @azaozz (1), @Frank Klein (1), @antonvlasenko (1), and @thomask (1).
Congrats and welcome to our 8 new contributors of the week: @patelmohip, @akmelias, @wlindley, @grandslambert, @benjibee, @wpfy, @reputeinfosystems, @wtranch ♥️
Core committers: @sergeybiryukov (20), @spacedmonkey (6), @hellofromtonya (6), @audrasjb (2), @ryelle (2), @bernhard-reiter (1), and @dd32 (1).
#6-2, #core, #week-in-core