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

  • 41 commits
  • 63 contributors
  • 91 tickets created
  • 7 tickets reopened
  • 85 tickets closed

You might have noticed that the activity on Core continued to increase this week, as we are close to the end of 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. We’ll enter the Release candidaterelease candidate One of the final stages in the version release cycle, this version signals the potential to be a final release to the public. Also see alpha (beta). cycle on February 23. Worth also noting that WordPress 5.6.2 was released earlier today.

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


  • Apply background color to updated message in 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 list table – #52452
  • Apply the months_dropdown_results 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. separately from pre_months_dropdown_query#51660

Build/Test tools

  • Tests: Add missing @covers tags for files in phpunit/tests/http/#39265

Bundled Themes

  • Twenty Twenty-One: Add the px unit to the adminadmin (and super admin) bar height custom property – #52564
  • Twenty Nineteen: Add some space between the cookies checkbox and label in comment form – #46601
  • Twenty Twenty-One: Remove background color from Social Links the dark gray style – #52499
  • Twenty Ten: Correct the fallback to the default 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. if the featured imageFeatured image A featured image is the main image used on your blog archive page and is pulled when the post or page is shared on social media. The image can be used to display in widget areas on your site or in a summary list of posts. width is narrower than the twentyten_header_image_width setting – #52516
  • Twenty Eleven: Correct the fallback to the default header if the featured image width is narrower than the twentyeleven_header_image_width setting – #52516
  • Twenty Twenty: Make sure the RTL list styles are preserved after npm run build#52401
  • Fix alignment and styles for quote, verse, and code blocks – #52009
  • 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: Display inline-images inline – #52287
  • Twenty Twenty-One: Match bullets between editor and frontend – #52412
  • Twenty Twenty-One: Add CSSCSS Cascading Style Sheets. source map files to committed files – #52377

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

  • Add a missing $wp_error parameter to the pre_reschedule_event filter – #52572

CustomizerCustomizer Tool built into WordPress core that hooks into most modern themes. You can use it to preview and modify many of your site’s appearance settings.

  • Bring admin color schemes back into the customizer – #52230


  • Additional tests for reusable blocks – #52364
  • 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


  • Allow posts with a public custom post status to be embedded – #47574

External Libraries

  • Upgrade PHPMailer to version 6.3.0 – #52577
  • Revert the change to the tb_click() function in the Thickbox library – #51812
  • Further fix jQuery deprecations in WordPress core – #51812


  • Fix the URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org returned by get_feed_link() when pretty permalinks are not in use – #51839

Filesystem API

  • Make sure to only call fread() on non-empty files in the PclZip library – #52018


  • Add noindex robots metaMeta Meta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress. 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.) to search results – #52457


  • Remove extra spaces from translatable strings in Privacy help tabs – #52583


  • Explicitly declare the $pagenow global in wp_get_attachment_url()#52606
  • Associate upload errors and field with controls – #47120

Posts, Post Types

  • Rename the new post parent conditional tag functions for clarity – #33045
  • Prevent duplicates in sticky posts option – #52007
  • Update the styling of the legacy Links editing screen – #48782


  • Fix bug in wp_is_local_html_output()#52542

Site Health

  • Update loopback test to POST to wp-cron – #52547
  • Use home page for loopback test – #52547

Script Loader

  • Prevent wp_localize_script() warnings – #52534
  • Explicitly declare the $pagenow global in wp_deregister_script()#52566

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.

  • Optimize wp_delete_term() for large object counts without a default term – #52549
  • AccessibilityAccessibility Accessibility (commonly shortened to a11y) refers to the design of products, devices, services, or environments for people with disabilities. The concept of accessible design ensures both “direct access” (i.e. unassisted) and “indirect access” meaning compatibility with a person’s assistive technology (for example, computer screen readers). (https://en.wikipedia.org/wiki/Accessibility): Correct keyboard navigation for the Tags meta box in classic editor – #52408


  • Correctly display an error message after clicking the “Send Reset Link” button – #52573


  • Pass the method arguments and the XML-RPC server instance to the xmlrpc_call action – #52524


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

@peterwilsoncc (10), @poena (10), @sabernhardt (7), @audrasjb (7), @mukesh27 (5), @SergeyBiryukov (5), @jrf (3), @paaljoachim (3), @talldanwp (2), @johnbillion (2), @macmanx (2), @ayeshrajans (2), @TimothyBlynJacobs (2), @melchoyce (2), @dd32 (2), @afragen (2), @kjellr (2), @kburgoine (1), @antonlukin (1), @tobifjellner (1), @cristinasoponar (1), @pbiron (1), @burnuser (1), @ryelle (1), @grzim (1), @DavidAnderson (1), @yakimun (1), @fierevere (1), @hauvong (1), @afercia (1), @anevins (1), @antpb (1), @adamsilverstein (1), @jeroenrotty (1), @mahfuz01 (1), @tejwanihemant (1), @patopaiar (1), @desrosj (1), @joedolson (1), @hellofromTonya (1), @abagtcs (1), @johnjamesjacoby (1), @lukecarbis (1), @tmatsuur (1), @clorith (1), @nico23 (1), @bernhard-reiter (1), @Levdbas (1), @rahmohn (1), @archon810 (1), @burtrw (1), @ryokuhi (1), @jonoaldersonwp (1), @goaroundagain (1), @xkon (1), @bordoni (1), @garrett-eclipse (1), @monikarao (1), @Boniu91 (1), @almendron (1), @jose64 (1), @alexstine (1), and @isabel_brison (1).

Please join me to say welcome to our 10 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 ♥️
@cristinasoponar, @burnuser, @grzim, @mahfuz01, @tejwanihemant, @abagtcs, @nico23, @goaroundagain, @almendron, and @jose64.

Core committers: @sergeybiryukov (18), @peterwilsoncc (9), @ryelle (7), @johnbillion (4), @flixos90 (1), @joedolson (1), and @youknowriad (1).

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

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