A Week in Core – March 14, 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 March 7 and March 14, 2022.

  • 32 commits
  • 69 contributors
  • 61 tickets created
  • 7 tickets reopened
  • 44 tickets closed

Last week, the WordPress Core Team released WordPress 5.9.2, which is a Security and Maintenance update.

The Core team is currently working on the next minor releaseMinor Release A set of releases or versions having the same minor version number may be collectively referred to as .x , for example version 5.2.x to refer to versions 5.2, 5.2.1, 5.2.3, and all other versions in the 5.2 (five dot two) branch of that software. Minor Releases often make improvements to existing features and functionality., WP 5.9.3, and on the next major, WP 6.0 🛠

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 Nineteen: Display Image 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. at the same size whether the image is linked or not – #48697
  • Twenty Nineteen: avoid columns set to full width to extend beyond editor bounds – #54169
  • Twenty Sixteen: Remove .entry-content selector from button styles – #55167
  • Twenty Thirteen: Add gradient background options using the theme color scheme – #49762
  • Twenty Twenty-One: Reverse logic for prefers-reduced-motion media query – #54174

Build/Test Tools

  • Add trashTrash Trash in WordPress is like the Recycle Bin on your PC or Trash in your Macintosh computer. Users with the proper permission level (administrators and editors) have the ability to delete a post, page, and/or comments. When you delete the item, it is moved to the trash folder where it will remain for 30 days. and restore of a single post e2e tests – #54843

Canonical

  • Check if the URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org scheme exists in strip_fragment_from_url()#55333

Coding Standards

  • Fix minor alignment issue in wp_ajax_install_theme()#54728

Docs

  • Further clarify the description for install_dashboard()#54729
  • Miscellaneous fixes in wp-admin/includes/plugin-install.php and wp-admin/includes/plugin.php#54729
  • Use third-person singular verbs for function descriptions in wp-includes/class-wp-locale.php#54729

Editor

  • Site Editor: Improve Global Styles filtering order
  • Site Editor: Fix typo in the description of the 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.) template – #55374
  • Site Editor: Rename the default attachment template from “Media” to “Attachment” – #55373

External libraries

  • Update jQuery.query to version 2.2.3

Formatting

  • Use safecss_filter_attr in wp_get_layout_style()#55356

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.

  • Fix typo in and improve readability of wp_parse_url() docblockdocblock (phpdoc, xref, inline docs)#55355

I18Ni18n Internationalization, or the act of writing and preparing code to be fully translatable into other languages. Also see localization. Often written with a lowercase i so it is not confused with a lowercase L or the numeral 1. Often an acquired skill.

  • Move wp_get_list_item_separator() to a more appropriate place – #39733

Media

  • Add a “Copy URL to clipboard” function to the list table view – #54426
  • Allow wp_check_filetype() to support query strings in URLs – #30377
  • Note ClipboardJS as a global in /js/_enqueues/adminadmin (and super admin)/media.js – #54426
  • Relocate wp_filesize() function for use in frontend and backend. – #55367
  • Revert query string support for wp_check_filetype()#30377
  • Store attachment’s file size in metadata – #49412

Privacy

  • Fix “Retry” action after a personal data export failure – #53032

Quick/Bulk Edit

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

  • Correct the wording for show_in_nav_menus property description in post type visibility settings – #55340

Sitemaps

  • Pass term object to wp_sitemaps_taxonomies_entry filterFilter Filters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output.#55239

Taxonomy

  • Improve code quality within _prime_term_caches()#55162
  • Only store term_ids and object_ids in WP_Term_Query query caches – #37189
  • Use get_terms instead of a database lookup in term_exists()#36949

i18n

  • Define List item separator as a WP_Locale property – #39733

Props

Thanks to the 69 people who contributed to WordPress Core on Trac last week: @SergeyBiryukov (8), @audrasjb (7), @sabernhardt (4), @dd32 (3), @Spacedmonkey (3), @swissspidy (3), @costdev (3), @johnbillion (2), @peterwilsoncc (2), @flixos90 (2), @boonebgorges (2), @scruffian (2), @adamsilverstein (1), @antpb (1), @joemcgill (1), @azaozz (1), @mehedi890 (1), @desrosj (1), @jeffpaul (1), @johnwatkins0 (1), @Cybr (1), @mukesh27 (1), @kevin940726 (1), @uday17035 (1), @talldanwp (1), @pbearne (1), @gregoiresailland (1), @ryokuhi (1), @pooja1210 (1), @RavanH (1), @pedromendonca (1), @david.binda (1), @azouamauriac (1), @voldemortensen (1), @layotte (1), @atomicjack (1), @supercleanse (1), @spencercameron (1), @justinahinon (1), @alexstine (1), @pavanpatil1 (1), @vortfu (1), @antonvlasenko (1), @rsiddharth (1), @ianbelanger (1), @tomjdevisser (1), @JarretC (1), @mikachan (1), @charleyparkerdesign (1), @smit08 (1), @sclayf1 (1), @grapplerulrich (1), @xknown (1), @sergey (1), @oandregal (1), @webcommsat (1), @get_dave (1), @hellofromTonya (1), @nomnom99 (1), @rafiahmedd (1), @hasanuzzamanshamim (1), @pbiron (1), @ravipatel (1), @spacedmonkey (1), @afercia (1), @jazbek (1), @figureone (1), @ovidiul (1), and @ianmjones (1).

Congrats and welcome to our 6 new contributors of the week: @mehedi890, @uday17035, @gregoiresailland, @tomjdevisser, @charleyparkerdesign, @sclayf1 ♥️

Core committers: @audrasjb (9), @sergeybiryukov (6), @davidbaumwald (6), @peterwilsoncc (4), @hellofromtonya (3), @spacedmonkey (3), and @jorgefilipecosta (1).

#5-9-3, #6-0, #core, #week-in-core