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 September 26 and October 3, 2022.
- 66 commits
- 107 contributors
- 70 tickets created
- 3 tickets reopened
- 60 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 🛠
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
- Guard against
false
transient key in get_cached_events()
– #55888
Bootstrap/Load
- Revert the
is_*_admin_screen()
aliases for is_*_admin()
function family – #56400
Build/Test Tools
- Call
wpTearDownAfterClass()
before deleting all data, instead of after – #55918. – #55652
- Disable process timeout when running PHPUnit tests via Composer – #55919
- Remove PHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher 8.1 and 8.2 from allowed failures – #55652, #55656, #56009, #56681
- Remove extraneous
--
from docker-compose up
command – #56550
- Remove the
retryAfter
input – #55652
- Remove unnecessary
--no-interaction
option from Composer commands – #54695
- Update
actions/github-scripts
to the latest version – #55652
- Fix running
build
scripts on Windows does not generate CSS Cascading Style Sheets. files for blocks – #56616
- Simplify syncing core blocks from 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/ 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 to Core – #56179
- Ensure prerequisites are met for draft length tests in
Tests_L10n
– #56681, #55652, #55656
- Update 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. registration tests to account for RTL stylesheet loading changes – #56325
Bundled Themes
- Twenty Eleven: Improve text color consistency of Table Block heading cells and figcaption – #56462
- Twenty Ten: Escape
get_author_posts_url()
where appropriate in functions.php
file – #56674
- Twenty Ten: Escape
get_permalink()
where appropriate in functions.php
file – #56667
- Twenty Twenty-Three: Bug fixes and improvements for beta A pre-release of software that is given out to a large group of users to trial under real conditions. Beta versions have gone through alpha testing in-house and are generally fairly close in look, feel and function to the final product; however, design changes often occur as part of the process. 2 – #56383
- Twenty Twenty: Ensure the fallback fonts is applied to all content elements for non-latin languages – #56396
Code Modernization
- Check the return type of
parse_url()
in url_to_postid()
– #55656
- Correct default values in
wp_handle_comment_submission()
– #56712, #56681, #55656
- Fix null to non-nullable deprecation in
WP_REST_Users_Controller::update_item()
– #55656
- Fix null to non-nullable deprecation in
WP_Theme_JSON::get_property_value()
– #56620
- Fix null to non-nullable deprecations in
wp_xmlrpc_server::_insert_post()
– #55656
- Fix null to non-nullable deprecations in
wp_xmlrpc_server::mw_newPost()
– #55656
- Use correct default value for JavaScript JavaScript or JS is an object-oriented computer programming language commonly used to create interactive effects within web browsers. WordPress makes extensive use of JS for a better user experience. While PHP is executed on the server, JS executes within a user’s browser. https://www.javascript.com/. translations path – #55967, #55656
Comments
- Prevent AYS prompt when replying to a comment and nothing has been entered – #54990
Docs
- Add
@since
to wp_enqueue_classic_theme_styles()
docblock (phpdoc, xref, inline docs) – #55646
- Increase the specificity of various property documentation – #55646
- Use Latin
C
instead of Cyrillic С
in docblock for get_test_theme_version()
– #55646
- Use third-person singular verbs in
class-wp-site-health-auto-updates.php
, as per docblocks standards – #55646
- Various docblock fixes in
wp-includes/revision.php
, as per documentation standards – #55646
Editor
- Cast
theme.json
values to string
on theme export – #56684
- Correctly load RTL stylesheets in
register_block_style_handle()
– #56325
- Ensure block script is enqueued, regardless of
ronder_callback
– #56408
- Ensure settings for fluid typography and
spacingScale
are not lost on theme export – #55646
- Fix missing frontend section presets output – #56467
- Fix spacing property generation in flow layout type – #56467
- Make template names and descriptions dynamic, again – #56467
- Reintroduce styles that were removed for classic themes – #56467
- Remove deprecated callable in
WP_Style_Engine
class – #56467
- Remove leading whitespace from some translated strings – #56467
- Revert dynamic template names and descriptions – #56467
- Update packages for 6.1 Beta 2 – #56467
- Blocks: Fix 404 error for core styles with no file – #56408, #56614
- Blocks: Remove extra
get_theme_file_path()
calls in register_block_style_handle()
– #56666
External Libraries
- Update MediaElement.js to version 4.2.17 – #56319
- Update Underscore.js to version
1.13.6
– #56030
General
- Remove
file_exists()
checks after calling realpath()
– #56654
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.
- Move code out of a translatable string in
register_rest_route()
– #51986
- Use correct default value for JavaScript translations path – #55967, #55656
- Ensure empty strings are consistently translated to
''
– #55941
Menus
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
- Prevent excessive
notoptions
key lookups – #56639
Plugins
- Fix Upgrade icon alignment on mobile in Plugins Install screen – #55627
Query
- Save excessive cache add and sets in
WP_Query
– #22176
REST API The REST API is an acronym for the RESTful Application Program Interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. It is how the front end of an application (think “phone app” or “website”) can communicate with the data store (think “database” or “file system”) https://developer.wordpress.org/rest-api/.
- Ensure
args
is an array of arrays in register_rest_route()
– #51986
Script Loader
- Prevent double space between attributes in
WP_Styles
class – #56675
Security
- Introduce strings to indicate support status – #56532
Shortcodes
- Revert recent
apply_shortcodes
and do_shortcode
changes – #55883
Site Health
- Fix incorrect message about the status of
WP_AUTO_UPDATE_CORE
– #51041
Upgrade/Install
- Keep search engine checkbox value when reloading the Install screen – #55900
- Update sodium_compat to v1.19.0 – #56653
Users
- Correctly pass the
context
property for persisted preferences – #56665 – #56467
Props
Thanks to the 107 (!) people who contributed to WordPress Core on Trac last week: @jrf (14), @SergeyBiryukov (11), @mukesh27 (8), @desrosj (7), @audrasjb (6), @aristath (6), @robinwpdeveloper (6), @costdev (5), @bernhard-reiter (5), @rafiahmedd (4), @cbravobernal (4), @ramonopoly (4), @rudlinkon (3), @sabernhardt (3), @kebbet (3), @azaozz (3), @poena (3), @hellofromTonya (3), @andrewserong (3), @Chouby (2), @hztyfoon (2), @dd32 (2), @spacedmonkey (2), @Ankit K Gupta (2), @whaze (2), @oandregal (2), @Clorith (2), @johnbillion (2), @glendaviesnz (2), @ironprogrammer (2), @maahrokh (1), @zoonini (1), @talldanwp (1), @ramon-fincken (1), @khokansardar (1), @chrisbudd1 (1), @manfcarlo (1), @tobiasbg (1), @nendeb55 (1), @chesio (1), @bernie (1), @lopo (1), @sumitbagthariya16 (1), @felipeelia (1), @dmsnell (1), @mcsf (1), @sergeybiryukov (1), @clorith (1), @wildworks (1), @zieladam (1), @paragoninitiativeenterprises (1), @isabel_brison (1), @ndiego (1), @beafialho (1), @jorbin (1), @critterverse (1), @madhudollu (1), @mikachan (1), @pls78 (1), @manooweb (1), @hugodevos (1), @Boniu91 (1), @krishaweb (1), @oglekler (1), @faisal03 (1), @apermo (1), @hasanuzzamanshamim (1), @cdbessig (1), @lovor (1), @swissspidy (1), @ocean90 (1), @saggre (1), @westonruter (1), @johnjamesjacoby (1), @peterwilsoncc (1), @get_dave (1), @meysamnorouzi (1), @scruffian (1), @tellthemachines (1), @rajanpanchal2028 (1), @imadarshakshat (1), @antonvlasenko (1), @justinahinon (1), @jameskoster (1), @jorgefilipecosta (1), @iviweb (1), @DarkoG (1), @azouamauriac (1), @dovyp (1), @mkox (1), @cu121 (1), @malthert (1), @nateallen (1), @johnmark8080 (1), @Hinjiriyo (1), @timothyblynjacobs (1), @AndrewNZ (1), @oneearth27 (1), @ntsekouras (1), @slaFFik (1), @multidots1896 (1), @umesh84 (1), @fuadragib01 (1), @jakariaistauk (1), @tillkruess (1), @elten (1), and @draganescu (1).
Congrats and welcome to our 14 (!) new contributors of the week: @maahrokh, @sumitbagthariya16, @cdbessig, @saggre, @meysamnorouzi, @rajanpanchal2028, @imadarshakshat, @cu121, @johnmark8080, @AndrewNZ, @oneearth27, @fuadragib, @jakariaistauk, @elten. ♥️
Core committers: @sergeybiryukov (20), @davidbaumwald (16), @audrasjb (12), @desrosj (6), @hellofromtonya (3), @gziolo (3), @jorgefilipecosta (2), @spacedmonkey (1), @westonruter (1), @peterwilsoncc (1), and @johnbillion (1).
#6-1, #core, #week-in-core