A Week in Core – February 15, 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 February 8 and February 15, 2021.

  • 36 commits
  • 43 contributors
  • 63 tickets created
  • 9 tickets reopened
  • 67 tickets closed

You might have noticed that the activity on Core continued to increase this week, due to WordPress 5.7 betaBeta A pre-release of software that is given out to a large group of users to trial under real conditions. Beta versions have gone through alpha testing in-house and are generally fairly close in look, feel and function to the final product; however, design changes often occur as part of the process. cycle.

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

Administration

  • Update color contrast on UIUI User interface elements – #52402

Bundled Themes

  • Support font size option for code 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.#52431
  • Twenty Thirteen: Fix alignment of child blocks within the Cover block – #51224
  • Twenty Twenty-One: Correct accent marks in block pattern alt text – #52500
  • Twenty Twenty: Make ordered list styling in classic editor match the front-end style – #50454
  • Twenty Twenty-One: Use correct value for the global line-height CSSCSS Cascading Style Sheets. variable – #52477
  • Twenty Twenty-One: Update editor styles of search block – #52433
  • Twenty Twenty-One: Adapt vertical buttons to text length – #52432
  • Twenty Twenty-One: Support font size option for code block – #52431
  • Twenty Twenty-One: Prevent Dark Mode related JavaScriptJavaScript JavaScript or JS is an object-oriented computer programming language commonly used to create interactive effects within web browsers. WordPress makes extensive use of JS for a better user experience. While PHP is executed on the server, JS executes within a user’s browser. https://www.javascript.com/. error – #52473

Build/Tests tools

  • Add missing @covers tags for files in phpunit/tests/http/#39265
  • Add missing @covers tags for files in phpunit/tests/hooks/#39265
  • Add missing @covers tags for files in phpunit/tests/general/#39265
  • Add missing @covers tags for files in phpunit/tests/external-http/#39265
  • Add missing @covers tags for files in phpunit/tests/error-protection/#39265
  • Add missing @covers tags for files in phpunit/tests/editor/#39265
  • Add missing @covers tags for files in phpunit/tests/dependencies/#39265
  • Add missing @covers tags for files in phpunit/tests/db/#39265
  • Install WordPress Importer 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 when installing the Docker-based local environment – #49720
  • Replace most instances of assertEquals() in phpunit/includes/ with assertSame()#38266, #52482
  • Add missing @covers tags for files in phpunit/tests/date/#39265
  • Synchronize svn:ignore with .gitignore#49784
  • Correct the test for NOT BETWEEN comparison operator in WP_Date_Query#39265, #51802

Canonical

  • Rename wp_force_plain_ugly_permalink() to match UI terminology – #5272

Comments

  • Extend the duration of the window within which unapproved comments are visible by their author – #52406

Editor

  • Block Editor: Update packages with 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 to be included in WP 5.7 beta 3 – #52525
  • Block Editor: Remove extra quotes from the default font stack for editor styles – #46169

External Libraries

  • Further fix jQuery deprecations in WordPress core – #51812

Internationalization

  • Fix wp.i18n.isRTL() – #52441

Media

  • Make adjacent_image_link() include alt text when returning an image – #52387
  • Allow post_date to be respected in media_handle_sideload()#50972

Posts, Post Types

  • Clarify the documentation about the return value of get_post() when a falsey value is passed – #33068
  • Improve documentation of get_posts()#51852, #51800

Site Health

  • Update site-health script dependencies – #52483
  • Link to the support article on troubleshooting in “There has been a critical error” message – #52392
  • Site Health: Clarify the recommendation in file uploads test when post_max_size is defined as 0#51466

Props

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

@jrf (11), @patopaiar (10), @poena (6), @hellofromTonya (6), @Clorith (4), @paaljoachim (4), @SergeyBiryukov (4), @mukesh27 (4), @audrasjb (4), @peterwilsoncc (4), @joedolson (3), @johnbillion (3), @kjellr (2), @dd32 (2), @jeroenrotty (2), @Mista-Flo (2), @sabernhardt (2), @justinahinon (1), @Rahe (1), @juliobox (1), @jonsurrell (1), @pixolin (1), @rolfsiebers (1), @jamesgol (1), @helen (1), @youknowriad (1), @ratneshk (1), @ocean90 (1), @hareesh-pillai (1), @dariak (1), @davidbaumwald (1), @alexstine (1), @imath (1), @Ipstenu (1), @acerempel (1), @sebastienserre (1), @geekzebre (1), @gmariani405 (1), @kafleg (1), @Joen (1), @isabel_brison (1), @melchoyce (1), and @dam6pl (1).

Please join me to say welcome to our 4 new Core contributorsCore Contributors Core contributors are those who have worked on a release of WordPress, by creating the functions or finding and patching bugs. These contributions are done through Trac. https://core.trac.wordpress.org. of the week ♥️
@ratneshk, @acerempel, @geekzebre, and @dam6pl.

Core committers: @sergeybiryukov (17), @peterwilsoncc (7), @ryelle (3), @desrosj (3), @antpb (2), @johnbillion (2), @youknowriad (1), and @noisysocks (1).

Please note: it only includes commits with proper props attribution.

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