A Week in Core – December 5, 2022

Welcome back to a new issue of Week in CoreCore 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 TracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. between November 28 and December 5, 2022.

  • 35 commits
  • 31 contributors
  • 65 tickets created
  • 6 tickets reopened
  • 55 tickets closed

Ticketticket 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

  • Add basic e2e coverage for GutenbergGutenberg 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/#57197
  • Improve caching for PHPCSPHP Code Sniffer PHP Code Sniffer, a popular tool for analyzing code quality. The WordPress Coding Standards rely on PHPCS.#57148, #53841
  • Stylistic changes to Gutenberg e2e test – #57197

Code Modernization

  • Rename parameters that use reserved keywords in wp-includes/formatting.php#56788
  • Rename parameters that use reserved keywords in wp-includes/functions.php#56788
  • Rename parameters that use reserved keywords in wp-includes/functions.wp-scripts.php#56788
  • Rename parameters that use reserved keywords in wp-includes/functions.wp-styles.php#56788
  • Rename parameters that use reserved keywords in wp-includes/general-template.php#56788
  • Rename parameters that use reserved keywords in wp-includes/kses.php#56788

Coding Standards

  • Add visibility to methods in tests/phpunit/tests/#56791
  • Add visibility to properties in tests/phpunit/tests/#56791
  • Always use parentheses when instantiating an object – #56791
  • Always use strict type check for in_array()#56791
  • Fix a non-snake_case function name in WP_Block tests – #56791
  • Fix indentation of multi-line chained method call in test_json_error_with_status()#56791
  • Fix spacing for incrementors and decrementors in various files – #56791
  • Remove a one-time $loading variable in get_avatar()#56791
  • Remove redundant semicolon after get_template_hierarchy()#56791
  • Use consistent markup for line break tags on update-core.php#57226, #56791


  • Make moderated or disallowed key check case-insensitive for non-Latin words – #57207


  • Fix a wrong condition on WP_Customize_Manager::has_published_pages()#57198


  • Fix the initialization of imgAreaSelect when cropping a headerHeader 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 or a site icon or logo – #54308, #55377
  • Fix the version string of imgAreaSelect to indicate when the second set of modifications were made – #54308

Options, MetaMeta 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 error messages in Options Management Administration Screen – #57230


  • Correctly display spaces in installed plugins search results – #57174


  • Account for primed post caches without primed post meta/term caches – #57163


  • Improve accessibilityAccessibility Accessibility (commonly shortened to a11y) refers to the design of products, devices, services, or environments for people with disabilities. The concept of accessible design ensures both “direct access” (i.e. unassisted) and “indirect access” meaning compatibility with a person’s assistive technology (for example, computer screen readers). (https://en.wikipedia.org/wiki/Accessibility) of security policy – #57222
  • Remove useless span tags from SECURITY.md#57243
  • Update supported WordPress versions in security policy – #57217

Bundled Themes

  • Twenty Seventeen: Fix comment indentation in twentyseventeen_setup()#56791
  • Twenty Ten: Remove unwanted title attributes – #57199, #24766, #24203
  • Twenty Thirteen: Remove unwanted title attributes – #57199, #24766, #24203
  • Twenty Twelve: Remove unwanted title attributes – #57199, #24766, #24203
  • Twenty Twenty-Three: In page template, make post titles links – #57175
  • Twenty Twenty: Remove unwanted title attributes – #57199, #24766, #24203


Thanks to the 31 people who contributed to WordPress Core on Trac last week: @jrf (16), @costdev (9), @sergeybiryukov (9), @aristath (6), @poena (6), @justinahinon (6), @sabernhardt (5), @audrasjb (4), @mukesh27 (4), @peterwilsoncc (3), @ironprogrammer (2), @ajmaurya (1), @rajanpanchal2028 (1), @alberuni-azad (1), @felipelavinz (1), @spacedmonkey (1), @ocean90 (1), @desrosj (1), @bonjour52 (1), @obenland (1), @254volkan (1), @nmutua (1), @arthur791004 (1), @alshakero (1), @syamraj24 (1), @adhun (1), @dilipbheda (1), @dlh (1), @NekoJonez (1), @TobiasBg (1), and @scruffian (1).

Congrats and welcome to our 5 new contributors of the week: @ajmaurya, @felipelavinz, @254volkan, @nmutua, @syamraj24 ♥️

Core committers: @sergeybiryukov (17), @audrasjb (9), @bernhard-reiter (3), @azaozz (2), @peterwilsoncc (2), @desrosj (1), and @ocean90 (1).

#6-2, #core, #week-in-core