A Week in Core – July 4, 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 June 27 and July 4, 2022.

  • 32 commits
  • 34 contributors
  • 63 tickets created
  • 5 tickets reopened
  • 52 tickets closed

The Core team is currently working on the next major releasemajor 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 and on the next minor, WP 6.0.1 🛠

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 support for WP_Error in the test suite’s wp_die() handlers – #55652
  • Correct some 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/ Action workflow inline documentation – #55652
  • Enable loopback requests to work on the local development environment – #52708
  • Include the actual _doing_it_wrong() message or deprecation notice in the output – #55652
  • Remove an unused build configuration file – #52604
  • Remove the workflow_run event from the SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/. notification workflow – #56095
  • Run the PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher container with PID > 1 so Ctrl+C works correctly – #55702
  • Update 3rd party GitHub Actions – #55652
  • Update NPM devDependencies to their latest versions – #55652
  • Update the actions/cache action – #55652

Bundled Themes

  • Twenty Eleven: Replace deprecated function calls on theme options page – #54833

Coding Standards

  • Escape the home URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org in the “Background updated. Visit your site” message – #56133
  • Escape the home URL in the “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. updated. Visit your site” message – #56132

Comments

  • Use more appropriate escaping functions in class WP_Comments_List_Table#56101

Docs

  • Add @since tags for _doing_it_wrong() and deprecation notice handlers in the PHPUnit test suite – #55652, #55646
  • Add @since tags for wp_die() handlers in the PHPUnit test suite – #55652, #55646
  • Add missing docblockdocblock (phpdoc, xref, inline docs) description for install_themes_upload()#55646
  • Adjust some DocBlocks in wpdb per the documentation standards – #52506, #55646
  • Misc fixes in ShortcodeShortcode A shortcode is a placeholder used within a WordPress post, page, or widget to insert a form or function generated by a plugin in a specific location on your site. 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. function and hook descriptions, as per documentation standards – #55646
  • Update the version in which Meetup.com was removed as an oEmbed source – #55997
  • Use third-person singular verbs for function descriptions in WP_Comments_List_Table class, as per docblock standards – #55646

Editor

  • Alphabetize 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. lists in various places – #56131
  • Ensure only the main query is modified when resolving template for new posts – #56058
  • Register the Comments Query LoopLoop The Loop is PHP code used by WordPress to display posts. Using The Loop, WordPress processes each post to be displayed on the current page, and formats it according to how it matches specified criteria within The Loop tags. Any HTML or PHP code in the Loop will be processed on each post. https://codex.wordpress.org/The_Loop. block from metadata – #56093, #55809
  • Update block editor packages for WordPress 6.0.1 – #56058

General

  • Revert an earlier define of the WPINC constant in src/index.php#54233

Help/About

  • Add help tab info for available row actions in the Media Library – #55800
  • Typo correction in the Media Library help tab text – #55800

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/.

  • Add missing options to the settings endpoint – #56058
  • Use the integer type for page_on_front and page_for_posts options – #56058

TaxonomyTaxonomy A taxonomy is a way to group things together. In WordPress, some common taxonomies are category, link, tag, or post format. https://codex.wordpress.org/Taxonomies#Default_Taxonomies.

  • Pass the $args parameter to all actions and filters in wp_insert_term() and wp_update_term()#55441

Widgets

  • Add a comment in WP_Nav_Menu_Widget::form() to clarify the esc_attr() usage – #56128

Props

Thanks to the 34 people who contributed to WordPress Core on Trac last week: @SergeyBiryukov (5), @costdev (4), @hztyfoon (3), @gziolo (3), @zieladam (2), @Mamaduka (2), @kebbet (2), @mukesh27 (2), @audrasjb (2), @rudlinkon (2), @peterwilsoncc (2), @viralsampat (1), @jameskoster (1), @spacedmonkey (1), @manfcarlo (1), @sajjad67 (1), @ndiego (1), @poena (1), @petitphp (1), @sabernhardt (1), @tomjdv (1), @cu121 (1), @afragen (1), @Presskopp (1), @mboynes (1), @jakariaistauk (1), @robinwpdeveloper (1), @chintan1896 (1), @adamziel (1), @bernhard-reiter (1), @cbravobernal (1), @hasanuzzamanshamim (1), @sandrasanzdev (1), and @aristath (1).

Congrats and welcome to our 7 new contributors of the week: @hztyfoon, @petitphp, @tomjdv, @cu121, @jakariaistauk, @robinwpdeveloper, @sandrasanzdev ♥️

Core committers: @sergeybiryukov (17), @audrasjb (6), @desrosj (5), and @johnbillion (4).

#6-1, #core, #week-in-core