A Week in Core – November 9, 2020

Three years after the last post published using the #week-in-core 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.), CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. Team Reps @francina and @audrasjb wanted to restore the Week in Core tradition, thanks for @helen reminder that such thing existed. The idea is to provide a general overview on what changed on core from one week to another. So let’s take a look on what changed on TracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. between November 2 and November 9, 2020.

  • 35 commits
  • 57 contributors
  • 47 tickets created
  • 6 tickets reopened
  • 79 tickets closed

Ticketticket Created for both bug reports and feature development on the bug tracker. numbers based on the Trac timeline for the period above. The following is a summary of commits, organized by component.

Code changes

About/Help

  • Optimize freedoms sprite and add 2 column layout – #46363

Build/Test Tools

  • Check if all the required PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 7.4 or higher extensions are loaded before running the test suite – #50640
  • Disable update attempts while running unit tests – #51670
  • Clean up the new contributor welcome message – #50401
  • Remove PHP >= 5.3 check – #51737
  • Remove duplicate fields key in WP_Query test – #51344

Bundled Themes

  • Sync Twenty Twenty-One with the latest changes from GitHubGitHub GitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. https://github.com/#51526
  • Correct list 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. alignment in editor styles – #51157
  • Twenty Thirteen: Correct alignment of blocks inside a full-width or wide-width group block – #51440
  • Twenty Twenty: Correct heading blocks alignment in editor styles – #51148
  • Twenty Twenty: Correctly indent nested unordered lists in RTL editor styles – #51574

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.

  • Customize: Ensure menu items expand horizontally on large screens – #51647

Documentation

  • Improve return value description for esc_url()#50585
  • Fix typo in a comment in Walker::display_element()#51713.
  • Improve documentation for is_archive()#50545
  • Change the @since entry for template and template_lock post type arguments to 5.0.0#46261
  • Document the $linkdata parameter of wp_insert_link() using hash notation – #50853.
  • General: Make some inline comments more descriptive – #51683
  • Clean up the new contributor welcome message – #50401

Editor

Feeds

  • Don’t treat media URLs with fragments as unique for enclosures – #47421

Formatting

  • Update docs for $context in sanitize_title_with_dashes()#50569

Internationalization

  • Merge duplicate “Column” strings, remove unnecessary context – #47259
  • Unify various “Back to…” vs. “Return to…” vs. “Go to…” strings – #47235

Login and Registration

  • App Passwords: Further 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) improvements – #51580

Media

  • Restore the ability of WP_Image_Editor_Imagick->save() to create a missing directory when needed – #51665
  • Adjust box-sizing for audio players – #51685
  • Adjusts alignment of file name text in browser uploader – #41648

Networks and Sites (Multisitemultisite Used to describe a WordPress installation with a network of multiple blogs, grouped by sites. This installation type has shared users tables, and creates separate database tables for each blog (wp_posts becomes wp_0_posts). See also network, blog, site)

  • Assign the array of site or networknetwork (versus site, blog) data returned from filters to the respective class property – #51333

Privacy

  • More precise checking of user request action names – #46536

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

  • Use _n() in some error messages for proper plural forms support – #51727.

Site Health

  • Validate the test result data format in JSJS JavaScript, a web scripting language typically executed in the browser. Often used for advanced user interfaces and behaviors. before using it – #50145.
  • Site errors are for *this* site, not necessarily *your* site – #51524

Upgrade/Install

  • Change the notice displayed after saving auto-update settings to .notice-success#51701
  • Update help tab text to include major WordPress updates – #51653
  • Prevent removal of additional data from 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 update info – #51609

Props

Thanks to everyone who contributed to WordPress Core last week:

@sergeybiryukov (18), @audrasjb (11), @sabernhardt (7), @helen (6), @desrosj (5), @stevenlinx (4), @garrett-eclipse (4), @johnbillion (3), @TimothyBlynJacobs (4), @ryelle (2), @ocean90 (2), @kjellr (2), @ramiy (2), @Clorith (3), @justinahinon (2), @amolv (1), @francina (1), @david.binda (1), @antpb (1), @Lumne (1), @metalandcoffee (1), @peterwilsoncc (1), @techboyg5 (1), @ayeshrajans (1), @poena (1), @luminuu (1), @aristath (1), @felipeelia (1), @jrf (1), @valentinbora (1), @tobifjellner (1), @mikeschroder (1), @noisysocks (1), @ravipatel (1), @alexstine (1), @afercia (1), @archduck (1), @dshanske (1), @joedolson (1), @jeffpaul (1), @eemitch (1), @hellofromTonya (1), @whyisjake (1), @p00ya (1), @kharisblank (1), @yakimun (1), @spacedmonkey (1), @dogwithblog (1), @kraftbj (1) and @joostdevalk (1).

Core committers: @sergeybiryukov, @helen, @desrosj, @noisysocks, @antpb, @TimothyBlynJacobs and @johnbillion.