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

  • 40 commits
  • 53 contributors
  • 49 tickets created
  • 5 tickets reopened
  • 44 tickets closed

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

Administration

  • Add a media_date_column_time 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. to the media list table date column – #42942

Code Modernization

  • Rename parameters that use reserved keywords in wp-admin/includes/class-custom-image-header.php#55327

Coding Standards

  • Escape the comment post URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org in _wp_dashboard_recent_comments_row()#54728
  • Remove a one-time $pieces variable in wp-includes/class-wp-*-query.php#54728
  • Rename the $bodyStarted variable to $body_started in WP_Http_Streams::request()#54728
  • Rename the $cat_ID argument to $cat_id in get_the_category_by_ID()#54728
  • Rename the $headerValue variable to $header_value in WP_Http_Streams::request()#54728
  • Rename the $requestPath variable to $request_path in WP_Http_Streams::request()#54728
  • Rename the $strHeaders variable to $headers in WP_Http_Streams::request()#54728
  • Rename the $strResponse variable to $response in WP_Http_Streams::request()#54728
  • Rename the $theBody variable to $body in WP_Http_Curl::request()#54728
  • Simplify some long conditions in wp-includes/class-wp-term-query.php#55352, #54728
  • Use esc_url() instead of esc_attr() for some URLs – #54728
  • Use strict comparison in wp-includes/class-wp-http-curl.php#54728
  • Wrap the $this->request property in wp-includes/class-wp-*-query.php#54728

Comments

  • Disable “close on escape” for inline replies when using an IME – #54548

Docs

  • Add a @since note about Twenty Twenty-Two for WP_Theme::$default_themes#54729
  • Correct variable references in get_category_feed_link() and get_term_feed_link() @return tags – #54729
  • Misc. fixes in wp-includes/post-template.php and wp-includes/post-thumbnail-template.php#54729

Editor

  • Add blockTypes argument to WP_Block_Patterns_Registry::register() docblockdocblock (phpdoc, xref, inline docs)#55303, #54729
  • Fix broken asset URLs when using WP outside of the regular directory – #55311
  • Add WP_Block_Editor_Context::$name – #55301

Formatting

  • Add support for formatting sizes as PB, EB, ZB, and YB – #40875

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.

  • Don’t register empty localeLocale A locale is a combination of language and regional dialect. Usually locales correspond to countries, as is the case with Portuguese (Portugal) and Portuguese (Brazil). Other examples of locales include Canadian English and U.S. English. data objects – #55250
  • Avoid translating wp_locale strings several times – #54564

KSES

  • Add support for ruby and related elements – #54698
  • Allow lang, xml:lang, dir attributes globally – #54699

Login and Registration

Menus

  • Improve padding on bulk action labels for small screens – #54855

Plugins

  • Convert apply_filters() into a proper variadic function – #53218
  • Move the introduction text from install_dashboard() to display_plugins_table()#55389

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.

  • Consider HTML5 input types when resetting form values after adding a new 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.)#48030
  • Increase cache hits in WP_Term_Query#55352

Tests

  • Include special characters in term names for wp_set_term_objects()#53152, #54725

Themes

  • Add version to theme screenshot URL for better browser cache handling – #53370
  • Add version to theme screenshot URL in WP_Themes_List_Table#53370
  • Allow 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. themes to be activated without index.php#54272
  • Use esc_url() for theme screenshots on the Themes screen – #53370
  • Use pointer when hovering on theme details button – #54971

Users

  • Check maximum length of user_nicename after filters are applied – #54987

Props

Thanks to the 53 people who contributed to WordPress Core on Trac last week: @azouamauriac (9), @SergeyBiryukov (7), @audrasjb (7), @sabernhardt (3), @mukesh27 (3), @ravipatel (2), @andraganescu (2), @poena (2), @Presskopp (2), @kebbet (2), @ryokuhi (2), @upsuper (2), @jrf (2), @sabbirshouvo (1), @rehanali (1), @vlad.olaru (1), @multidots1896 (1), @alkesh7 (1), @talldanwp (1), @gziolo (1), @sumitsingh (1), @scruffian (1), @manfcarlo (1), @overclokk (1), @pgpagely (1), @Mamaduka (1), @kapacity (1), @costdev (1), @jsnajdr (1), @sabbir1991 (1), @justinahinon (1), @rafiahmedd (1), @aristath (1), @davidbaumwald (1), @priyank9033 (1), @pbiron (1), @spacedmonkey (1), @Chouby (1), @henry.wright (1), @muhammadfaizanhaidar (1), @csesumonpro (1), @stevegrunwell (1), @mauriac (1), @desrosj (1), @johnbillion (1), @BettyJJ (1), @alexstine (1), @konradyoast (1), @afercia (1), @ivanlutrov (1), @lopo (1), @codente (1), and @kapilpaul (1).

Congrats and welcome to our 8 new contributors of the week: @upsuper, @alkesh7, @kapacity, @sabbir1991, @csesumonpro, @ivanlutrov, @lopo, @codente ♥️

Core committers: @sergeybiryukov (20), @peterwilsoncc (6), @audrasjb (4), @davidbaumwald (4), @johnbillion (3), @noisysocks (1), @gziolo (1), and @ocean90 (1).

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

Bug Scrub Schedule for 6.0

With 6.0 well underway, it’s time to schedule the 6.0 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. scrub sessions. These 6.0 specific ticketticket Created for both bug reports and feature development on the bug tracker. scrubs will happen each week until the final release.

Alpha Scrubs:

Hosted by @costdev

Hosted by @chaion07 (APAC-Friendly)

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. Bug Scrubs
Focus: issues reported from the previous beta.

Hosted by @costdev

Hosted by @chaion07 (APAC-friendly)

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). Bug Scrubs (if needed)
Focus: issues reported from the previous RCrelease 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)..

Hosted by @costdev

Hosted by @chaion07 (APAC-Friendly)

Check this schedule often, as it will change to reflect the latest information.

What about recurring component scrubs and triagetriage The act of evaluating and sorting bug reports, in order to decide priority, severity, and other factors. sessions?

For your reference, here are some of the recurring sessions:

  • 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) Scrub: Every Friday, 15:00 UTC, in the #accessibility channel.
  • Help/About & Quick / Bulk Edit Scrub: Every Monday, 19:00 UTC, in the #core channel with maintainers @webcommsat, @marybaum, and @nalininonstopnewsuk
  • Testing Scrub: Every Friday, 13:15 UTC, in the #core-test channel.

Have a recurring component scrub or triage session?
PingPing The act of sending a very small amount of data to an end point. Ping is used in computer science to illicit a response from a target server to test it’s connection. Ping is also a term used by Slack users to @ someone or send them a direct message (DM). Users might say something along the lines of “Ping me when the meeting starts.” @costdev or @chaion07 on SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/. to have it added to this page.

Want to lead a bug scrub?

Did you know that anyone can lead a bug scrub at any time? Yes, you can!

How? Ping @costdev or @chaion07 on Slack with the day and time you’re considering as well as the report or tickets you want to scrub.

Planning one that’s 6.0-focused? Awesome! It can be added it to the schedule here. You’ll get well deserved props in Dev Chat, as well as in the #props Slack channel!

Where can you find tickets to scrub?

  • Report 5 provides a list of all open 6.0 tickets:
    • Use this list to focus on highest priority tickets first.
    • Use this list to focus on tickets that haven’t received love in a while.
  • Report 6 provides a list of open 6.0 tickets ordered by workflow.

Need a refresher on bug scrubs? Checkout Leading Bug Scrubs in the coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. handbook.

Questions?

Have a question, concern, or suggestion? Want to lead a bug scrub? Please leave a comment or reach out directly to @costdev or @chaion07 on Slack.

Props to: @davidbaumwald for proof-reading.

#6-0, #bug-scrub

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

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

  • 21 commits
  • 43 contributors
  • 62 tickets created
  • 3 tickets reopened
  • 48 tickets closed

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.2, 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

Administration

  • Require a valid action parameter to be set for admin-ajax.php requests – #55212

Bootstrap/Load

  • Stop unnecessary queries when using the do_parse_request 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.#10886

Coding Standards

  • Improve formatting in /wp-admin/user-edit.php#54673

Comments

  • Guard against potential PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher notices in get_comment_author and get_comment_ID#54379

Docs

  • Add a @since note for WP::parse_request() about the new return value – #10886
  • Add inline comments for non-visible characters in sanitize_title_with_dashes()#47912, #54729
  • Correct the indentation in delete_term_relationships filter – #54673
  • Update the DocBlockdocblock (phpdoc, xref, inline docs) for the wpmu_new_blog action to suggest wp_initialize_site as an alternative – #49612
  • Use third-person singular verbs for function descriptions in wp-includes/class-wp-user.php#54729
  • Use third-person singular verbs for function descriptions in wp-includes/formatting.php, per the documentation standards – #54729

External Libraries

  • Upgrade PHPMailer to version 6.6.0 – #55277

General

  • Improve MS Edge user-agent sniffsniff A module for PHP Code Sniffer that analyzes code for a specific problem. Multiple stiffs are combined to create a PHPCS standard. The term is named because it detects code smells, similar to how a dog would "sniff" out food.#55297

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.

  • Add a $locale parameter for remove_accents()#54415

Media

  • Allow wp_check_filetype() to support query strings in URLs – #30377

Networks and Sites

  • Suggest wp_initialize_site as an alternative for the deprecated wpmu_new_blog action – #49612

Query

  • Make sure WP_Query::get_queried_object() works for author_name before ::get_posts() is run – #55100

Tests

  • Restore the original user role in the (add|remove)_user_role hooksHooks In WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same. test – #54164

Themes

  • Correct the logic for displaying a _doing_it_wrong() notice for add_theme_support( 'html5' )#51657
  • Hide 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. themes’ live preview link following installation – #54878
  • Make sure the current_theme_supports-{$feature} filter is consistently applied – #55219

Users

  • Bring some consistency to user role hooks – #54164

Props

Thanks to the 43 people who contributed to WordPress Core on Trac last week: @SergeyBiryukov (6), @dd32 (6), @costdev (3), @johnbillion (2), @audrasjb (2), @peterwilsoncc (2), @azouamauriac (2), @pbearne (1), @arnee (1), @tyxla (1), @DrewAPicture (1), @lukecavanagh (1), @davidbaumwald (1), @Spacedmonkey (1), @voldemortensen (1), @helgatheviking (1), @pavanpatil1 (1), @sivel (1), @jrf (1), @Synchro (1), @miken32 (1), @malthert (1), @knutsp (1), @wonderboymusic (1), @henry.wright (1), @westi (1), @mukesh27 (1), @layotte (1), @atomicjack (1), @supercleanse (1), @spencercameron (1), @ianmjones (1), @abdullahramzan (1), @Boniu91 (1), @ryan (1), @swissspidy (1), @johnregan3 (1), @antonvlasenko (1), @ironprogrammer (1), @asaquzzaman (1), @MadtownLems (1), @junsuijin (1), and @ocean90 (1).

Congrats and welcome to our 4 new contributors of the week: @pavanpatil1, @supercleanse, @spencercameron, @asaquzzaman ♥️

Core committers: @sergeybiryukov (13), @audrasjb (4), @peterwilsoncc (2), @davidbaumwald (1), and @spacedmonkey (1).

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

A Week in Core – February 28, 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 February 21 and February 28, 2022.

  • 24 commits
  • 46 contributors
  • 66 tickets created
  • 6 tickets reopened
  • 50 tickets closed

Last week, the Core Team rolled out the WordPress 5.9.1 Maintenance Release 🚀

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.2, 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

Administration

  • Consistency fixes on keyboard shortcuts instructions – #40582
  • Further enhancements on small text fields after [52649]#50177

Code Modernization

  • Check the return type of wp_parse_url() in wp_mail()#54730

Docs

  • Add missing descriptions for some parameters of WP_Walker::paged_walk()#55225
  • Correct return type for get_block_metadata_i18n_schema()#55243, #54729
  • Correct return type for get_post_custom()#55249, #54729
  • Use third-person singular verbs for function descriptions in wp-includes/formatting.php#54729

External Libraries

  • Upgrade PHPMailer to version 6.6.0 – #55277

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

  • Include the ssh-ed25519 public key signature algorithm as an alternative to ssh-rsa#52409

Formatting

  • Make terms in wpautop() and shortcode_unautop() more welcoming and inclusive – #25615

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.

  • Add a $locale parameter for remove_accents()#54415

Media

  • Make get_post_galleries() only return galleries – #55203
  • Stop arrow keys switching media if URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org focused – #43202
  • Use consistent mirroring check in media views – #53856

Plugins

  • Add focus style to 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 icon link in plugin cards – #45209

Query

  • Correct the “matched rule” condition in WP::parse_request()#55222

Query

  • Preinitialize the WP class properties to their default values – #55222

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

  • Pass WP_REST_Request object to the rest_index 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.. – #48638.

Tests

  • Add a @ticket reference for the current_theme_supports-{$feature} filter test – #54725
  • Rename the $success variable to $result in the wp_mail() test for an empty home URL – #54730

Themes

  • Avoid undefined variable warning on get_svg_filters()#55241
  • Remove the Live Preview link when installing a 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. theme from a zip archive – #54578

Props

Thanks to the 46 people who contributed to WordPress Core on Trac last week: @SergeyBiryukov (7), @audrasjb (5), @hellofromTonya (3), @jrf (2), @afercia (2), @jeremyfelt (2), @ironprogrammer (2), @sabernhardt (2), @dd32 (2), @hasanuzzamanshamim (1), @chouby (1), @bhrugesh12 (1), @jrivett (1), @joemcgill (1), @rafiahmedd (1), @aliakseyenkaihar (1), @TimothyBlynJacobs (1), @hitendra-chopda (1), @themattroyal (1), @imokol (1), @ricomoorman (1), @tzipporahwitty (1), @peterwilsoncc (1), @Viper007Bond (1), @Spacedmonkey (1), @BinaryMoon (1), @johnregan3 (1), @richybkreckel (1), @miken32 (1), @malthert (1), @johnbillion (1), @knutsp (1), @ocean90 (1), @Presskopp (1), @joyously (1), @MMDeveloper (1), @glendaviesnz (1), @alanjacobmathew (1), @antonvlasenko (1), @kebbet (1), @pyrobd (1), @dennisatyoast (1), @azouamauriac (1), @Synchro (1), @costdev (1), and @rmccue (1).

Congrats and welcome to our 10 (!) new contributors of the week: @bhrugesh12, @jrivett, @aliakseyenkaihar, @themattroyal, @imokol, @ricomoorman, @tzipporahwitty, @richybkreckel, @miken32, and @dennisatyoast ♥️

Core committers: @sergeybiryukov (10), @audrasjb (10), @joedolson (2), @spacedmonkey (1), and @hellofromtonya (1).

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

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

  • 33 commits
  • 48 contributors
  • 57 tickets created
  • 20 tickets reopened
  • 70 tickets closed

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.1, 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

Administration

  • Fix a CSSCSS Cascading Style Sheets. issue on the Welcome Panel when the “Dashboard” heading is missing – #54977

Bundled Themes

  • Twenty Seventeen: Remove bottom border (box-shadow) from linked images – #55141
  • Twenty Twenty-One: Allow editor styles to control 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. margins – #54250
  • Twenty Twenty-Two: Bump theme version to 1.1 – #55056

Cache 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 wp_cache_flush_runtime function – #55080

Coding Standards

  • Rename some variables in iis7_add_rewrite_rule() for consistency – #54728

Docs

  • Correct parameter types for data_wp_validate_boolean()#54725, #54729
  • Fix typo in TracTickets::isTracTicketClosed() description – #54729
  • Improve some DocBlocks in wp_validate_boolean() tests for consistency – #54725, #54729
  • Use third-person singular verbs in some test descriptions in phpunit/tests/functions/#54725

Editor

  • Adds an additional check to guard against incompete presets – #55161
  • Automatically apply global styles duotone filters to render in post editor – #55190
  • Backportbackport A port is when code from one branch (or trunk) is merged into another branch or trunk. Some changes in WordPress point releases are the result of backporting code from trunk to the release branch. Duotone fixes for 5.9.1 – #55179
  • Grant only admins access to the “Navigation Menus” UIUI User interface for block and non-block themes – #54889
  • Prevent front-end assets of a block from being enqueued in the block editor – #55151
  • Update block editor packages for WordPress 5.9.1 – #55179
  • Fix PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher warning in WP_REST_Global_Styles_Controller if no styles exist – #54900
  • Load the global styles before the theme styles in the editor – #55188

External Libraries

  • Update random_compat to version 2.0.21 – #55181
  • Upgrade PHPMailer to version 6.5.4 – #55187

Filesystem API

  • Use a temp folder for Content-Disposition files – #55109

Networks and Sites

  • Remove unnecessary commented code from remove_user_from_blog()#55170

Script Loader

  • Improvements to the load block support styles mechanism – #55148
  • Load block support styles in the head for block themes – #55148
  • Load block themes styles in the head section – #55148
  • Prevent normalizing data URIs in _wp_normalize_relative_css_links()#54243, #55177

Tests

  • Convert _wp_to_kebab_case() tests to use a data provider – #54725
  • Correct the @ticket reference in a download_url() test with the Content-Disposition 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.#55109
  • Correct the order of expected and actual values in get_status_header_desc() tests – #54725
  • Correct the order of expected and actual values in wp_array_slice_assoc() tests – #54725
  • Correct the order of expected and actual values in wp_validate_boolean() tests – #54725

Themes

  • Allow extending WP_Theme_JSON and WP_Theme_JSON_Resolver classes – #55178, #55179

Widgets

  • Missing markup from Widgets Group block – #55072

Props

Thanks to the 41 people who contributed to WordPress Core on Trac last week: @oandregal (6), @azouamauriac (4), @jrf (3), @SergeyBiryukov (3), @ironprogrammer (3), @Mamaduka (3), @sabernhardt (2), @nidhidhandhukiya (2), @swissspidy (2), @aristath (2), @ntsekouras (2), @noisysocks (2), @scruffian (2), @audrasjb (2), @wpsoul (1), @youknowriad (1), @paragoninitiativeenterprises (1), @hellofromtonya (1), @mikachan (1), @peterwilsoncc (1), @kapilpaul (1), @Faison (1), @critterverse (1), @rolfsiebers (1), @antonynz (1), @gziolo (1), @ocean90 (1), @stacimc (1), @mukesh27 (1), @hellofromTonya (1), @Synchro (1), @ajlende (1), @rafiahmedd (1), @Spacedmonkey (1), @tillkruess (1), @flixos90 (1), @adamsilverstein (1), @barryhughes (1), @abhanonstopnewsuk (1), @staatic (1), @jeherve (1), @sergeybiryukov (1), @costdev (1), @talldanwp (1), @petaryoast (1), @manfcarlo (1), @pyrobd (1), and @Boniu91 (1).

Congrats and welcome to our 5 new contributors of the week: @rolfsiebers, @antonynz, @barryhughes, @staatic, @pyrobd ♥️

Core committers: @sergeybiryukov (13), @audrasjb (9), @jorgefilipecosta (4), @hellofromtonya (3), @ocean90 (2), @spacedmonkey (1), and @clorith (1).

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

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

  • 31 commits
  • 41 contributors
  • 62 tickets created
  • 10 tickets reopened
  • 54 tickets closed

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.1, 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 Fifteen: Add gradient background options using the theme color scheme – #49760
  • Twenty Twelve: Typo correction a bundled pattern – #55099
  • Twenty Twenty-One: Allow editor styles to control 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. margins – #54250
  • Twenty Twenty-Two: Restore custom padding for group blocks with a background color – #55103, #54944

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

  • Reorder object cache functions and methods for consistency – #54728, #54574
  • Add wp_cache_*_multiple functionsFixes – #54574
  • Use wp_cache_*_multiple() in core functions – #55029

Code Modernization

  • Use file_get_contents() in get_file_data()#55069
  • Use file_get_contents() in wp_get_image_mime()#55069
  • Use file_get_contents() in wp_get_webp_info()#55069
  • Use stream_get_contents() in POMO_FileReader::read_all()#55069

Coding Standards

  • Fix WPCSWordPress Coding Standards A collection of PHP_CodeSniffer rules (sniffs) to validate code developed for WordPress. It ensures code quality and adherence to coding conventions, especially the official standards for WordPress Core. issues in wp-admin/includes/misc.php#54728
  • Remove unnecessary try/catch block in wp_get_webp_info()#54728
  • Rename $r variable to $args for clarity in walk_nav_menu_tree()#54728
  • Rename $r variable to $args for clarity in walk_page_tree()#54728
  • Rename the $profileuser variable to $profile_user in wp-admin/user-edit.php#54728
  • Use strict comparison in wp-admin/user-edit.php#54728

Docs

  • Correct @since 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.) for wp_cache_reset()#54729
  • Correct the suggested alternative for the deprecated wp_cache_reset() function – #54729
  • Fix an error in wp_kses_attr() docblockdocblock (phpdoc, xref, inline docs)#54729
  • Fix typo in a comment in wp_get_image_mime()#55154
  • Improve @return tags for wp_cache_*_multiple() functions – #54729, #54574
  • Typo correction in class-wp-theme-json docblocks – #54729
  • Update DocBlocks for some object cache functions per the documentation standards – #54729, #54574

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.

  • Standardize the script paths for blocks – #54797

Media

  • Display an error message in grid view if the attachment could not be deleted – #55158

Options

  • Disable transients while installing – #54849

Posts, Post Types

  • Pass the $update parameter to wp_insert_post_data and wp_insert_attachment_data filters – #46228

Query

  • Check if the theme supports block-templates before calling locate_block_template() in get_query_template()#54844

Script Loader

  • Prevent normalizing HTMLHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. IDs in _wp_normalize_relative_css_links()#54922

Tests

  • Remove some extra wp_cache_set() calls from wp_cache_set_multiple() test – #54574

Props

Thanks to the 41 people who contributed to WordPress Core on Trac last week: @SergeyBiryukov (4), @maxkellermann (4), @audrasjb (4), @azouamauriac (3), @costdev (3), @mukesh27 (3), @flixos90 (2), @mitogh (2), @kebbet (2), @spacedmonkey (2), @adamsilverstein (2), @kapilpaul (2), @rafiahmedd (2), @tnolte (1), @dd32 (1), @mahype (1), @stacimc (1), @noisysocks (1), @antonvlasenko (1), @dolphingg (1), @peterwilsoncc (1), @nhadsall (1), @tobifjellner (1), @kjellr (1), @madeinua (1), @tillkruess (1), @manfcarlo (1), @Mamaduka (1), @ianatkins (1), @johnbillion (1), @Rahe (1), @pbearne (1), @Boniu91 (1), @dilipbheda (1), @pls78 (1), @itsamoreh (1), @ianbelanger (1), @nidhidhandhukiya (1), @ironprogrammer (1), @aristath (1), and @uzumymw (1).

Congrats and welcome to our 8 new contributors of the week: @maxkellermann, @mahype, @dolphingg, @nhadsall, @madeinua, @pls78, @nidhidhandhukiya, @uzumymw ♥️

Core committers: @sergeybiryukov (19), @audrasjb (8), @spacedmonkey (2), @gziolo (1), and @peterwilsoncc (1).

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

A Week in Core – February 7, 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 January 31 and February 7, 2022.

  • 29 commits
  • 46 contributors
  • 101 tickets created
  • 14 tickets reopened
  • 69 tickets closed

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.1, 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

Build/Tests tools

  • Rename the test file and class for wp_get_global_stylesheet() tests – #54782
  • Use more appropriate assertions in wp_get_global_stylesheet() tests – #54782

Bundled Themes

  • Twenty Twelve: Typo correction a bundled pattern – #55099
  • Twenty Twenty-One: Replace GitHubGitHub GitHub is a website that offers online implementation of git repositories that can 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/ with .org link in Theme URI – #55018
  • Twenty Twenty-Two: Fix headings consistency in Pricing table pattern – #54929
  • Twenty Twenty-Two: Make 404 pattern search label and button translatable – #54928
  • Twenty Twenty-Two: Remove negative side margins on group blocks with a background – #54944
  • Twenty Twenty-Two: Restore custom padding for group blocks with a background color – #55103, #54944
  • Twenty Twenty: Add Noto Serif as a fallback font before Garamond – #50723

Coding Standards

  • Rename $r variable to $args for clarity in walk_nav_menu_tree()#54728
  • Rename $r variable to $args for clarity in walk_page_tree()#54728
  • Rename the $profileuser variable to $profile_user in wp-admin/user-edit.php#54728
  • Use strict comparison in wp-admin/user-edit.php#54728
  • Use strict type check for in_array() in wp_get_global_stylesheet()#54782

Comments

  • Only render term update notices on term screens – #54955, #42937
  • Verify ‘mirroring’ property exists in media views – #53856

Docs

  • Add a comment to clarify the username_exists() check in wpmu_validate_blog_signup()#54326
  • Fix typo in the is_post_status_viewable() function description – #55068
  • Typo corrections in various 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. docblocks – #55073, #54729

Editor

  • Classic themes using default presets are not working – #54782
  • Remove standard post type UIUI User interface for templates and template parts – #54908

Update jQuery Color to 2.2.0 – #55016, #51405 Update version string for hoverIntent – #54904

General

  • Remove inaccurate reference to the link_updated field from the wp_insert_link() DocBlockdocblock (phpdoc, xref, inline docs)#54880

Options, 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. APIs

  • Correct some inline docsinline docs (phpdoc, docblock, xref) for update_post_meta and delete_post_meta#54835

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.

  • Remove cache expiry limitation in WP_Term_Query – #54511

Toolbar

  • Don’t hide adminadmin (and super admin) bar text labels from screen readers on small screens – #54895

Upgrade

  • Add follow up ticket ID to upgrade_590() comment – #54906
  • Prevent warnings upgrading cron array – #54906, #53940

Props

Thanks to the 46 people who contributed to WordPress Core on Trac last week: @sabernhardt (4), @SergeyBiryukov (3), @kjellr (3), @audrasjb (3), @mukesh27 (2), @rafiahmedd (2), @webmandesign (2), @thelovekesh (1), @tillkruess (1), @dlh (1), @flixos90 (1), @manfcarlo (1), @walbo (1), @nmschaller (1), @tobifjellner (1), @rehanali (1), @dshanske (1), @dharm1025 (1), @adamsilverstein (1), @kafleg (1), @chrisvanpatten (1), @kapilpaul (1), @henry.wright (1), @joyously (1), @boonebgorges (1), @Boniu91 (1), @spacedmonkey (1), @hellofromTonya (1), @azouamauriac (1), @uzumymw (1), @jffng (1), @hasanuzzamanshamim (1), @eddystile (1), @petaryoast (1), @oandregal (1), @desrosj (1), @MMDeveloper (1), @costdev (1), @pbearne (1), @johnstonphilip (1), @legendusmaximus (1), @konradyoast (1), @david.binda (1), @gadhiyaravi (1), @ravipatel (1), and @swissspidy (1).

Congrats and welcome to our 8 new contributors of the week: @rafiahmedd, @nmschaller, @azouamauriac, @uzumymw, @petaryoast, @legendusmaximus, @konradyoast, @gadhiyaravi ♥️

Core committers: @sergeybiryukov (11), @audrasjb (9), @clorith (2), @joedolson (2), @peterwilsoncc (2), @jorgefilipecosta (1), @spacedmonkey (1), and @davidbaumwald (1).

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

A Week in Core – January 31, 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 January 24 and January 31, 2022.

  • 16 commits
  • 30 contributors
  • 126 tickets created
  • 19 tickets reopened
  • 71 tickets closed

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.1, 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

Administration

  • Add a top margin to Mail Server Port field on small screens – #50177

Build/Test Tools

  • Switch to some more appropriate assertions – #54725

Bundled Themes

  • Twenty Twenty-One: Replace GitHubGitHub GitHub is a website that offers online implementation of git repositories that can 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/ with .org link in Theme URI – #55018
  • Twenty Twenty-Two: Optimize the assets/images/ducks.jpg image – #54911

Docs

  • Add a comment to clarify the username_exists() check in wpmu_validate_blog_signup()#54326
  • Fix incorrect type in translations_api and translations_api_result docblocks – #54959
  • Increase the specificity of types in various inline documentation – #54729

External libraries

  • Update jQuery Color to 2.2.0 – #55016, #51405
  • Update jQuery UIUI User interface to 1.13.1 – #54902

General

  • Remove inaccurate reference to the link_updated field from the wp_insert_link() DocBlockdocblock (phpdoc, xref, inline docs)#54880

Media

  • Remove target blank attribute from media uploader edit links – #54945, #23432

Options, 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. APIs

  • Correct some inline docsinline docs (phpdoc, docblock, xref) for update_post_meta and delete_post_meta#54835

Role/Capability

  • Correct the documented accepted types for the capability argument of WP_User_Query#16841, #54729

Themes

  • Correct the width of theme preview on Add Themes screen – #54764

Upgrade/Install

  • Make sure the “Show hidden updates” button is visible and works as expected – #54886
  • Prevent warnings upgrading cron array – #54906, #53940

Users

  • Return a WP_Error from wp_insert_user() if the user_url field is too long – #44107

Props

Thanks to the 30 people who contributed to WordPress Core on Trac last week: @SergeyBiryukov (7), @kafleg (2), @kapilpaul (2), @sabernhardt (2), @thelovekesh (1), @utz119 (1), @volodymyrkolesnykov (1), @kebbet (1), @sumitsingh (1), @costdev (1), @shreyasikhar26 (1), @mgol (1), @linux4me2 (1), @blogaid (1), @audrasjb (1), @thimalw (1), @tszming (1), @afercia (1), @pravinparmar2404 (1), @rehanali (1), @mkox (1), @jffng (1), @kjellr (1), @swissspidy (1), @joyously (1), @henry.wright (1), @chrisvanpatten (1), @dharm1025 (1), @dshanske (1), and @malinevskiy (1).

Congrats and welcome to our 4 new contributors of the week: @thelovekesh, @shreyasikhar26, @blogaid, @malinevskiy ♥️

Core committers: @sergeybiryukov (5), @audrasjb (4), @johnbillion (3), @clorith (2), @davidbaumwald (1), and @peterwilsoncc (1).

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

Preliminary Roadmap for 6.0 (Gutenberg Phase 2)

Yesterday, WordPress 5.9 Joséphine was released with the help of hundreds of contributors and achieving a big milestone for WordPress. It’s now time to start thinking about next steps and the general scope for 6.0. As before, this is meant to be a high level overview of the different areas of focus, not an exhaustive list.

The overall aim is to consolidate and expand the set of customization tools introduced in 5.9 for creating themes with blocks, with a special focus towards usability and refinement. This new release could be considered a conceptual wrap for 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/: Phase 2. This doesn’t mean the customization phase would be concluded with it, but that its main features would have been established.

Editor

The introduction of the site editor marked a big milestone but also just a first step in the journey. There are various limitations that need to be lifted and features that didn’t make the cut that need to be revisited. We are also going to be learning a tremendous amount from users now that the initial work is out in the world to be experienced.

  • Refine the information architecture and template browsing experience. There’s work to be done to better organize the experience of interacting with the site editor, global styles, templates, and navigation as a whole. (36667)
  • Improve template creation (aiming at never showing disconcerting empty states) and allow the easy creation of more specific templates (i.e: category-$slug). The selection of new templates is artificially constrained right now in the interface. Opening that up should better express the power of the site editor as a web creation tool. (37407)
  • Expose site structure as “navigation” outside the navigation 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.. This is an important aspect to not limit site navigation editing exclusively to the site canvas, which for many reasons can be initially hidden from view. (36667)
  • Introduce browse mode to be able to conveniently follow links to different parts of the site. Conversely, the template editor that spawns when editing posts or pages also needs to establish better flows with the site editor. There’s a larger theme of connecting pages and templates to be explored. (23328)
  • Embrace style alternates driven by jsonJSON JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML. variations. This was teased in various videos around the new default theme and should be fully unveiled and presented in 6.0. One of the parallel goals is to create a few distinct variations of TT2 made just with styles. (35619)
  • Improve post settings design and organization. The sidebarSidebar A sidebar in WordPress is referred to a widget-ready area used by WordPress themes to display information that is not a part of the main content. It is not always a vertical column on the side. It can be a horizontal rectangle below or above the content area, footer, header, or any where in the theme. has gone without many updates for a while and could use improvements in clarity and design.
  • Complete the scope of global styles. Introduce easy export & import; support for revisionsRevisions The WordPress revisions system stores a record of each saved draft or published update. The revision system allows you to see what changes were made in each revision by dragging a slider (or using the Next/Previous buttons). The display indicates what has changed in each revision.; etc. (27941
  • Remove coupling of templates to specific themes. This is crucial for properly embracing the power of block templates. Switching themes should not cause the disappearance of your modified templates. This is also fundamental for offering more granular combinations instead of complete theme swaps, the ability to add new set of templates (relevant for plugins that introduce new templates), or changing individual parts of a site. (See also.)
  • Explore more advanced drafting and scheduling for the site editor. Some of this work is meant to happen more in depth during Phase 3, which will include more focus on editorial flows, but there’s still some paving steps to implement. (29575, 29388, 31456)
  • There should also be some room for some minor back to basics around the coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. writing experience and further improvements to performance and usability. Areas to keep an eye on are the reliability of undo/redo, keyboard interactions, multi-selection, etc.

Patterns

It’s also time to expand the usability of patterns as a main ingredient when it comes to building pages and sites, now that most of the infrastructure has been established.

  • Prioritize pattern insertion on template building. This is a proposal to make patterns more central to the experience of creating theme templates and pages. (31153)
  • Simplify registration of patterns for themes. This might take the shape of a patterns folder with file headers that are automatically registered. All in all, it should be super easy for themes to provide a collection of patterns or to specify starter content as patterns. (36751)
  • Introduce page patterns for page creation. This has been on the horizon for a while and we should have enough building blocks to tackle it properly. It’s also an occasion to improve upon and align with the new “explore” modal that connects with the patterns directory.
  • Use patterns as possible transforms for offering “layout” options. Inserting new patterns is just a start, but often you want to change existing content or shapes into new ones. Patterns have some of those mechanisms but they need to be better presented and embraced. (27575)

Blocks

  • Finalize scope of navigation block and its overlay rendering. The navigation block introduced in 5.9 contains a whole world of customization and opportunities that needs to continue to expand and improve. In addition to the block itself, several flows need to be refined around transporting and initializing block menu data.
  • Introduce various new blocks to power the display of comments on themes. (34994, 38107)
  • Allow 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. to be an attribute of other blocks (like Cover, Media & Text, etc) to expand what designs can be achieved.
  • Allow Quotes and Lists to have child blocks. Some of the current limitations of the writing experience arise from this constraint. (25892)
  • Improve the Table block. There’s a good design direction to finally implement. (32400)
  • Explore the viability of inline tokens. This has come up repeatedly in the context of rendering dynamic strings (such as current date) in rich text blocks.
  • Migrate default block styles into proper style attributes. Continue the work put into global styles by making all systems understand each other.
  • Pick up the work done for a Table of Contents block.

Design Tools (33447)

A lot of progress was made in 5.9 around consolidating the set of design tools and introducing new ones to address major gaps in the experience and providing block authors with simpler ways to register them. For 6.0 there’d be a concerted effort around tightening consistency, introducing more responsive capabilities, and expanding the Supports & Elements 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.. Another important goal is to continue to make it easier for third-party blocks to adopt these tools.

  • Layout:
    • Address confusions and shortcomings of layout features (including mindbenders like “inherit layout”). (28356)
    • Explore more convenient direct manipulation for height and width (alignment distribution) of blocks.
    • Incorporate more definitive responsive handling (min/max containers) into the current flex-based tools. (34641)
  • Typography:
    • Introduce responsive fonts with good defaults. (33543)
    • Add a Web Fonts API connected with global styles. (37140)
    • Explore paragraphs with indents and justification with hyphenation as global styles settings.
  • Elements:
    • Introduce support for customizing block Captions.
    • Investigate hover / focus effects and related problems.

Gradual Adoption

Full block themes are at the avant-garde of the WordPress evolution, but work continues to happen to improve how all themes can interact with blocks and make use of the new tools gradually and at their own pace.

  • Continue to adopt theme.json configuration for non-block themes as it aims to simplify and consolidate support for block properties and their capabilities.
  • With the “focused template part” editor established there are new opportunities for non-block themes to start incorporating specific areas for blocks using the site editor interface in a more gradual way, when ready to do so. (37943)
  • Utilize what we have implemented for the navigation block and site structure as the interface to eventually replace the navigation screen.
  • Explore the flows for creating some dynamic templates with blocks (for example, just the archive), similar to the custom page templates support in classic themes.

Please, help define the work to be done by joining the conversations listed in the issues above or giving feedback!

#6-0, #gutenberg, #gutenberg-next