A Week in Core – April 26, 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 April 19 and April 26, 2021.

  • 20 commits
  • 27 contributors
  • 38 tickets created
  • 2 tickets reopened
  • 31 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.

Code changes

Bootstrap/Load

  • Add Function for reliable timing data – #39163
  • Improve get_bookmark() test coverage – #52988
  • Remove Internet Explorer 11 from the browserslist#53077
  • Update the caniuse-lite database – #52624
  • Update several dependencies – #52624
  • Add seeking support to stream test library – #52922, #52826

Coding Standards

  • Remove loose comparison in wp-admin/includes/plugin-install.php#52627
  • Use strict comparison in wp-admin/includes/update-core.php#52627
  • Use strict comparison in wp-admin/includes/class-wp-terms-list-table.php#52627
  • Fix minor, inline spacing issue in wp-admin/setup-config.php#52627

Code Modernization

  • Bring consistency to preparing some fields on Networknetwork (versus site, blog) Settings screen: – #51423

Documentation

  • Add a @since note to wp_mail() about using is_email() for validation – #52628

Editor

  • Shape 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. editor filters to work better with the 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/ 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#52920
  • Abstract block editor configuration – #52920

External Libraries

  • Update Underscore to version 1.13.1 – #45785
  • Update Moment.js to the latest version – #52853

Plugins

  • When loading a plugin in a “sandbox” on activation, do it once – #31104
  • When loading a plugin in a “sandbox” on activation, do it in a separate function – #31104

Posts, Post Types

  • Pass the post object to the_password_form 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.#29008

Upgrade/Install

  • Prevent possible type errors during installation – #51423

Users

  • Share current user instance across functions – #28020

Props

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

@peterwilsoncc (3), @hellofromTonya (3), @SergeyBiryukov (2), @jrf (2), @hellofromtonya (2), @hareesh-pillai (2), @matt (1), @xknown (1), @youknowriad (1), @nosolosw (1), @jeremyfelt (1), @andraganescu (1), @azaozz (1), @jorbin (1), @silb3r (1), @andy (1), @chaion07 (1), @mensmaximus (1), @DrewAPicture (1), @dd32 (1), @Mike_Cowobo (1), @TimothyBlynJacobs (1), @rmccue (1), @lukecarbis (1), @donmhico (1), @chriscct7 (1), and @shital-patel (1).

Congrats to our 2 new contributors of the week: @silb3r, and @Mike_Cowobo ♥️

Core committers: @sergeybiryukov (7), @peterwilsoncc (4), @desrosj (4), @davidbaumwald (2), @gziolo (2), and @jorbin (1).

#5-8, #week-in-core