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 22 and August 29, 2022.
- 33 commits
- 99 contributors
- 46 tickets created
- 10 tickets reopened
- 45 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
Build/Test Tools
- Automatically rerun a workflow the first time it fails – #56407
- Enable running the tests on PHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 7.4 or higher 8.2 – #56009
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.
- Remove private delegation from cache priming functions – #56386
Code Modernization
- Explicitly declare WP-specific property in
WP_SimplePie_File
– #56033
- Explicitly declare all properties created in
set_up()
methods of various test classes – #56033
- Explicitly declare all properties in
POMO_Reader
et al – #56033
- Explicitly declare all properties in
WP_Ajax_Upgrader_Skin
– #56033
- Explicitly declare all properties in
WP_Test_Stream
– #56033
- Explicitly declare all properties in various tests – #56033
- Remove dynamic properties in
Tests_Comment_Walker
– #56033
- Remove dynamic properties in
WP_Test_REST_Posts_Controller
– #56033
- Remove dynamic properties in
WP_Test_REST_Users_Controller
– #56033
- Remove dynamic properties in
WP_UnitTestCase_Base
– #56033
- Remove unused dynamic property in
WP_Test_REST_Pages_Controller
– #56033
Coding Standards
- Use strict comparisons in
path_is_absolute()
– #36308
Docs
- Correct typo in
wp_maybe_clean_new_site_cache_on_update()
parameter description – #55646
Editor
- 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. Patterns: Add new Footers category The 'category' taxonomy lets you group posts / content together that share a common bond. Categories are pre-defined and broad ranging. – #56416
- Backport A port is when code from one branch (or trunk) is merged into another branch or trunk. Some changes in WordPress point releases are the result of backporting code from trunk to the release branch. 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 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/ into Core for WP 6.0.2 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). – #56414
- Ensure
get_block_templates()
returns unique templates or template parts – #56271
- Ensure that
timezone.offset
passed to @wordpress/date
is a float – #56459
Help/About
- Improve vertical alignment in the Additional Design Tools section – #56210
Media
- Account for Windows when normalizing file paths – #36308
Query
- Cache post ID database query within
WP_Query
– #22176, #55652
Site Health
- Don’t show issue groups unless there are items in them – #47222
- Improve the fatal error handling text in multisite Used to describe a WordPress installation with a network of multiple blogs, grouped by sites. This installation type has shared users tables, and creates separate database tables for each blog (wp_posts becomes wp_0_posts). See also network, blog, site scenarios – #48929
- Introduce persistent object cache check – #56040
Themes
- Add support for
Update URI
header The header of your site is typically the first thing people will experience. The masthead or header art located across the top of your page is part of the look and feel of your website. It can influence a visitor’s opinion about your content and you/ your organization’s brand. It may also look different on different screen sizes. – #14179, #23318, #32101
Props
Thanks to the 99 (!) people who contributed to WordPress Core on Trac last week: @jrf (14), @costdev (8), @SergeyBiryukov (7), @antonvlasenko (5), @desrosj (4), @johnbillion (4), @audrasjb (3), @peterwilsoncc (2), @markjaquith (2), @ironprogrammer (2), @mukesh27 (2), @DavidAnderson (2), @jorbin (2), @dd32 (2), @hellofromTonya (2), @Clorith (2), @spacedmonkey (2), @tillkruss (2), @chriscct7 (2), @knutsp (1), @mordauk (1), @talldanwp (1), @nvartolomei (1), @aspexi (1), @benoitchantre (1), @GaryJ (1), @Ipstenu (1), @TJNowell (1), @gMagicScott (1), @Otto42 (1), @mikejolley (1), @lev0 (1), @juliobox (1), @Rarst (1), @jb510 (1), @GeekStreetWP (1), @khromov (1), @ryno267 (1), @rudlinkon (1), @gregorlove (1), @marybaum (1), @JavierCasares (1), @ayeshrajans (1), @skithund (1), @zieladam (1), @tomepajk (1), @Mte90 (1), @oglekler (1), @webcommsat (1), @dougwollison (1), @weboccults (1), @sabernhardt (1), @joostdevalk (1), @swissspidy (1), @jonmackintosh (1), @uofaberdeendarren (1), @leemon (1), @georgestephanis (1), @williampatton (1), @damonganto (1), @ocean90 (1), @birgire (1), @stevenlinx (1), @Whissi (1), @kebbet (1), @sergeybiryukov (1), @scribu (1), @ryan (1), @nacin (1), @meloniq (1), @drewapicture (1), @batmoo (1), @aaroncampbell (1), @poena (1), @robinwpdeveloper (1), @palmiak (1), @rkaiser0324 (1), @davidbaumwald (1), @DrewAPicture (1), @jdgrimes (1), @furi3r (1), @crazycoders (1), @rmccue (1), @miqrogroove (1), @afragen (1), @apedog (1), @markparnell (1), @grapplerulrich (1), @earnjam (1), @mweichert (1), @joyously (1), @dingdang (1), @infolu (1), @JeroenReumkens (1), @nhuja (1), @sean212 (1), @filosofo (1), @design_dolphin (1), and @Synchro (1).
Congrats and welcome to our 4 new contributors of the week: @tillkruss, @tomepajk, @Whissi, @rkaiser0324 ♥️
Core committers: @sergeybiryukov (20), @desrosj (3), @clorith (2), @antpb (2), @peterwilsoncc (2), @noisysocks (1), @flixos90 (1), @mcsf (1), and @gziolo (1).
#6-1, #core, #week-in-core