A Week in Core – May 10, 2021

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 May 3 and May 10, 2021.

  • 32 commits
  • 42 contributors
  • 44 tickets created
  • 4 tickets reopened
  • 34 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

Bundled Themes

  • Twenty Twenty-One: Fix “Opening PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher tagtag A directory in Subversion. WordPress uses tags to store a single snapshot of a version (3.6, 3.6.1, etc.), the common convention of tags in version control systems. (Not to be confused with post tags.) must be on a line by itself” WPCSWPCS The collection of PHP_CodeSniffer rules (sniffs) used to format and validate PHP code developed for WordPress according to the WordPress Coding Standards. May also be an acronym referring to the Accessibility, PHP, JavaScript, CSS, HTML, etc. coding standards as published in the WordPress Coding Standards Handbook. issue – #52938

Coding Standards

  • Use strict comparison in wp-admin/includes/screen.php#52627
  • Fix a whitespace at end of line issue in wp-admin/includes/class-wp-comments-list-table.php#52627
  • Use strict comparison in wp-admin/includes/class-wp-posts-list-table.php#52627

Comments

  • Remove fourth parameter on remove_filter call – #53113

Docs

  • Correct @since tags for new properties and functions related to infinite scrolling in Media Library – #50105, #40330, #52628
  • Miscellaneous docblockdocblock (phpdoc, xref, inline docs) updates – #52628
  • Use correct @since tag notation – #16401
  • Correct the aria-current array key in the documentation for two widgetWidget 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. filters – #43522, #52628
  • Correct documentation for wp_get_webp_info() return results – #35725
  • Further synchronize documentation for some PluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party 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 – #50531

Editor

  • Update WordPress packages 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/ 10.5 – #52991

Formatting

  • Verify emails with + characters are valid – #53130

General

  • Use correct escaping function for form action attributes – #53150
  • Use correct escaping function for the plugin icon URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org#53151

Media

  • Remove infinite scroll from media library and modal – #50105, #40330
  • Avoid an infinite 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. between wp_getimagesize() and wp_get_image_mime()#35725
  • Remove an extra variable and a redundant check in WP_Image_Editor_Imagick::set_quality()#35725
  • Remove _wp_webp_is_lossy() for now – #35725
  • Correct an early return condition in wp_get_webp_info()#35725
  • Move retrieving WebP image size information into wp_getimagesize()#35725
  • Some documentation and test improvements for WebP support – #35725
  • Images: enable WebP support – #35725

Networknetwork (versus site, blog) and Sites

  • Display site icons in the My Sites menu – #46657

Permalinks

  • Add labels for permalink configuration fields – #53142

Plugins

  • Escape the currently installed version number on Add Plugins screen – #53020
  • Standardize the terminology used for actions, filters, and callback functions – #50531
  • Enable revisionsRevisions The WordPress revisions system stores a record of each saved draft or published update. The revision system allows you to see what changes were made in each revision by dragging a slider (or using the Next/Previous buttons). The display indicates what has changed in each revision. for the wp_block post type – #53072
  • Improve the appearance of Site Health Status dashboard widget – #52966
  • Include more ImageMagick/Imagick information in the Media Handling section – #53022
  • Introduce the delete_theme and deleted_theme action hooksHooks In WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same.#16401
  • Remove the “Featured” tab on Add Themes screen – #49487, #meta5044

Props

Thanks to the 42 people who contributed to WordPress Core on Trac last week:

@desrosj (5), @audrasjb (5), @Clorith (3), @SergeyBiryukov (3), @joemcgill (2), @afercia (2), @chintan1896 (2), @ayeshrajans (2), @johnjamesjacoby (2), @matveb (1), @markoheijne (1), @poena (1), @kjellr (1), @celloexpressions (1), @marylauc (1), @blobfolio (1), @atjn (1), @spacedmonkey (1), @mikeschroder (1), @hellofromtonya (1), @flixos90 (1), @johnbillion (1), @diddledan (1), @youknowriad (1), @alexstine (1), @francina (1), @rmccue (1), @mblach (1), @hedgefield (1), @sabernhardt (1), @adamsilverstein (1), @joedolson (1), @ocean90 (1), @chetan200891 (1), @scottconnerly (1), @ptahdunbar (1), @pbiron (1), @vetyst (1), @m0ze (1), @bmcculley (1), @jnylen0 (1), and @jrf (1).

Congrats and welcome to our 6 new contributors of the week! @marylauc, @atjn, @mblach, @vetyst, @m0ze, @bmcculley ♥️

Core committers: @sergeybiryukov (18), @desrosj (8), @joedolson (2), @johnbillion (1), @gziolo (1), @davidbaumwald (1), and @adamsilverstein (1).

#5-8, #meta5044, #week-in-core