A Week in Core – January 17, 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 January 10 and January 17, 2022.

  • 34 commits
  • 39 contributors
  • 74 tickets created
  • 20 tickets reopened
  • 53 tickets closed

The Core team is currently working on the next major release, WordPress 5.9 🛠

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

Administration

  • Ensure an integer is used for menu priority in add_menu_page()#54798, #48249
  • Fix an erroneous translators comment after changeset [52569]#54798
  • Replace “Current theme” with “Active theme” in user facing strings – #54770
  • Revert [51946]#54837, #53587
  • Update design of the Dashboard welcome panel – #54489

Build/Test Tools

  • Re-enable E2E tests for the 5.8 branchbranch A directory in Subversion. WordPress uses branches to store the latest development code for each major release (3.9, 4.0, etc.). Branches are then updated with code for any minor releases of that branch. Sometimes, a major version of WordPress and its minor versions are collectively referred to as a "branch", such as "the 4.0 branch".#54749
  • Avoid duplicate queries in some WP_Query tests – #54822
  • Trac ticket number correction after changeset [52569]#54798

Bundled Themes

  • Twenty Twenty-Two: Sync updates from GitHubGitHub GitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. https://github.com/ for RCrelease candidate 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). 2
  • Twenty Twenty-Two: Sync updates from GitHub from RC3 – #54318

Coding Standards

  • Correct alignment in get_block_editor_settings()#54728
  • Remove an extra variable in get_author_posts_url()#54728
  • Rename the $val variable to $site for clarity in WP_MS_Users_List_Table::column_blogs()#54728
  • Use strict comparison in wp-admin/includes/class-wp-ms-users-list-table.php#54728
  • Use strict comparison in wp-admin/includes/class-wp-users-list-table.php#54728

Database

  • Add missing AS after INNER JOIN in some queries – #54769

Docs

  • Correct description for two HTTPHTTP HTTP is an acronym for Hyper Text Transfer Protocol. HTTP is the underlying protocol used by the World Wide Web and this protocol defines how messages are formatted and transmitted, and what actions Web servers and browsers should take in response to various commands. APIAPI 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. functions: – #54796
  • Miscellaneous docblockdocblock (phpdoc, xref, inline docs) corrections in REST APIREST 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/. and Sitemaps API – #54729
  • Typo correction in WP_REST_Response class docblocks – #54823

Editor

  • Explicitly load remote blockBlock 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 in the block and site editor screens – #54806
  • Fix enqueueing additional styles in wp_enqueue_block_style() to print only when blocks render – #54787
  • Update some default presets in use by default themes to the new format – #54782
  • WordPress default presets aren’t loaded for all themes – #54781
  • Site Editor: Fix typo in home template translatable description – #54787
  • Update packages to include these bugbug 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 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/: – #54487

Help/About

  • Correction in “Managing Themes” HelpHub Docs link – #54707
  • Update the About section for 5.9 – #54270

Internationalization

  • Contextualize “light” color translationtranslation The process (or result) of changing text, words, and display formatting to support another language. Also see localization, internationalization. strings – #54804

Media

  • Add a missing / in post thumbnail lazy loading regex – #54815
  • Typo correction in wp_image_maybe_exif_rotate docblock – #54816

Script Loader

  • Fix a variable typo in wp_enqueue_block_style#54786

Upgrade/Install

  • Check if the disk_free_space() function exists before calling it – #54826, #54730
  • Typo correction in a Core_Upgrader class inline comment – #54821

XML-RPC

  • Fix typos in some XMLRPC related docblocks – #54820

Props

Thanks to the 39 people who contributed to WordPress Core on Trac last week: @audrasjb (8), @costdev (5), @kebbet (4), @SergeyBiryukov (4), @hellofromTonya (3), @richtabor (2), @Presskopp (2), @critterverse (2), @poena (2), @kjellr (2), @oandregal (2), @joedolson (2), @danieldudzic (1), @omaeyusuke (1), @sabernhardt (1), @aristath (1), @Mamaduka (1), @domainsupport (1), @scruffian (1), @kharisblank (1), @talldanwp (1), @isabel_brison (1), @desrosj (1), @versusbassz (1), @SierraTR (1), @kirtan95 (1), @johnbillion (1), @chesio (1), @mitogh (1), @noisysocks (1), @shreyasikhar26 (1), @david.binda (1), @swb1192 (1), @jrf (1), @tobifjellner (1), @ironprogrammer (1), @dhusakovic (1), @peterwilsoncc (1), and @jdy68 (1).

Congrats and welcome to our 9 new contributors of the week: @omaeyusuke, @domainsupport, @versusbassz, @SierraTR, @kirtan95, @shreyasikhar26, @swb1192, @ironprogrammer, @dhusakovic ♥️

Core committers: @audrasjb (12), @sergeybiryukov (9), @hellofromtonya (4), @jffng (2), @ryelle (2), @davidbaumwald (2), @jorgefilipecosta (2), and @noisysocks (1).

#5-9, #core, #week-in-core