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 13 and September 20, 2021.
- 21 commits
- 42 contributors
- 31 tickets created
- 0 tickets reopened
- 23 tickets closed
The Core team is currently working on the next point (5.8.2) and major (5.9) releases 🛠
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
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. editor
- Cache global stylesheet by theme key – #53175
Build/Test Tools
- Expect an absolute path in
WP_TESTS_PHPUNIT_POLYFILLS_PATH
constant – #46149 - Improve messaging when PHPUnit Polyfills cannot be found – #46149
- Improve messaging when PHPUnit Polyfills do not comply with version requirements – #46149
- Make
WP_TESTS_PHPUNIT_POLYFILLS_PATH
more flexible – #46149 - Reworks
Tests_Option_Option::test_bad_option_names()
into data provider – #53635
Bundled Themes
- Twenty Eleven: Set a fixed height for search form when 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. image is added – #40398
- Twenty Seventeen: Make blog (versus network, site) header margin more specific on front page – #43628
- Twenty Twenty-One: Add missing escaping for the “Secondary menu” label – #54127
Coding Standards
- Code Modernization: Fix “passing null to non-nullable” deprecation notice in
WP_Comment_Query::get_comment_ids()
– #53635 - Rename the
$arrURL
variable to $parsed_url
in WP_Http::request()
– #53359 - Rename the
$arrURL
variable to $parsed_url
in WP_Http_Cookie::__construct()
– #53359 - Rename the
$arrURL
variable to $parsed_url
in WP_Http_Streams::request()
– #53359 - Rename the
$processedHeaders
variable to $processed_headers
in WP_Http::request()
– #53359 - Use strict comparison in
wp-inclues/class-wp-http-cookie.php
– #53359
Documentation
- Update description for the
$wp_version
global – #53413
Embeds
- Add Pinterest as a trusted oEmbed provider – #53448
Internationalization
- Add a translator comment to clarify the “Block HTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers.” string in the Block widget A WordPress Widget is a small block that performs a specific function. You can add these widgets in sidebars also known as widget-ready areas on your web page. WordPress widgets were originally created to provide a simple and easy-to-use way of giving design and structure control of the WordPress theme to the user. settings form – #54110
Media
- Fix
$content
parameter default value in img_caption_shortcode()
– #53635
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
- Fix “passing null to non-nullable” deprecations to
(get|add|update|delete)_option()
– #53635
Upgrade/Install
- Create a temporary backup of plugins and themes before updating – #51857
Props
Thanks to the 42 people who contributed to WordPress Core on Trac last week: @hellofromTonya (9), @jrf (8), @lucatume (4), @schlessera (4), @jeherve (4), @sabernhardt (3), @mukesh27 (3), @SergeyBiryukov (3), @pbearne (2), @azaozz (2), @dd32 (2), @muhammadfaizanhaidar (2), @NekoJonez (1), @Amieiro (1), @knutsp (1), @johnbillion (1), @namith.jawahar (1), @ayeshrajans (1), @laurelfulford (1), @hirofumi2012 (1), @jainnidhi (1), @mai21 (1), @fedepia (1), @Soean (1), @francina (1), @a2hosting (1), @Boniu91 (1), @richards1052 (1), @galbaras (1), @KZeni (1), @pento (1), @mikeschroder (1), @audrasjb (1), @TimothyBlynJacobs (1), @poena (1), @pbiron (1), @afragen (1), @aristath (1), @joedolson (1), @oandregal (1), @teucrium (1), @lukecavanagh (1).
Congrats and welcome to our 7 new contributors of the week: @NekoJonez, @Amieiro, @namith.jawahar, @mai21, @richards1052, @KZeni, and @teucrium ♥️
Core committers: @sergeybiryukov (11), @hellofromtonya (8), @pento (1), @jorgefilipecosta (1).
#5-8-2, #5-9, #core, #week-in-core