Dev Chat agenda, February 23, 2022

The weekly developers chat takes place in the Make WordPress coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. channel 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/. at 20:00 UTC every Wednesday. Everyone is welcome to follow along and take part.

1. Announcements

Dev chat summary from last week (February 16, 2022). Thanks to @estelaris, @webcommsat and @marybaum for the notes. Could you volunteer to draft the summary from this week’s meeting?

The WordPress 5.9.1 maintenance release came out on February 22, 2022! Download and install for your website.

For more background: WordPress 5.9.x release team and 5.9.1 schedule – thanks to @audrasjb and @mamaduka for leading this, and to everyone who contributed.

2. Blogblog (versus network, site) posts of note

What’s new in Gutenberg 12.6? (published February 16, 2022)

A Week in Core (published 21/2/22) 

3. Update on upcoming releases

(Updated 22:16 UTC by @webcommsat)

WordPress 6.0 Development Cycle

4. Open Floor

If you are a component maintainer and have an issue to highlight or would like some help, please add a comment.

For other blog posts relevant to core’s dev chat, please add them in comments for the team reps @marybaum and @audrasjb to pick up for the meeting.

Thanks to @marybaum for reviewing the agenda and @webcommsat for finding relevant links.

#5-9-1, #agenda, #dev-chat

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

WordPress 5.9.1 RC 1

WordPress 5.9.1 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). 1 (RC1) is available for testing!

Some ways you can help testing WordPress 5.9.1 RC1:

  • Use the WordPress Beta Tester 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
    • As this is a minor 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). release, select the Point 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. channel and the Nightlies stream. This is the latest build including the RC and potentially any subsequent commits in trunk.
  • Use WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/ https://make.wordpress.org/cli/ to test: wp core update https://wordpress.org/wordpress-5.9.1-RC1.zip
  • Directly download the Beta/RC version

What’s in this release candidate?

5.9.1 Release Candidate 1 features 33 bug fixes on CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress., as well as 52 bug fixes for the 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.

The following core tickets from TracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. are fixed:

  • #54250 – Twenty Twenty One: Editor Buttons margins incompatible with gap
  • #54782 – Default presets in use by default themes need to be updated
  • #54844 – Unnecessary database queries when a block theme isn’t in use
  • #54849 – Site transients cause DB errors when installing
  • #54862 – FSE Navigation Block Styling Submenu
  • #54886 – “Show hidden updates” button is invisible
  • #54889 – Cannot access ‘Manage menus’ in Navigation block toolbar when running a classic theme
  • #54896 – TT2: Blank screen displayed for custom post typeCustom Post Type WordPress can hold and display many different types of content. A single item of such a content is generally called a post, although post is also a specific post type. Custom Post Types gives your site the ability to have templated posts, to simplify the concept.
  • #54900PHPPHP 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 in theme.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.
  • #54902 – Media Library Overlay Drag-and-Drop To Reorder Images Does Not Work In WP 5.9
  • #54904 – Bounce hoverIntent.js version in script-loader to 10.1.2
  • #54906 – Check _get_cron_array type in upgrade_590 routine
  • #54908 – Standard post type UIUI User interface is exposed for templates and template parts
  • #54911 – Twenty Twenty-Two: Theme Check Plugin issue for the image size
  • #54922 – Normalizing CSSCSS Cascading Style Sheets. also catches CSS IDs instead of only URLs
  • #54928 – Twenty Twenty-Two: 404 search label should be translated
  • #54929 – Twenty Twenty-Two: Pricing Table pattern 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. levels should be consistent
  • #54944 – By applying a background color to a group block, it aligns to the left in the editor
  • #54955 – Custom fields issue
  • #54960 – Media Library Dragging Option Isn’t Reflected
  • #54977 – Dashboard welcome banner: fix 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. when displayed in certain contexts
  • #55018 – Twenty Twenty-Two – Update theme URI link
  • #55072 – Widgets editor: WidgetWidget A WordPress Widget is a small block that performs a specific function. You can add these widgets in sidebars also known as widget-ready areas on your web page. WordPress widgets were originally created to provide a simple and easy-to-use way of giving design and structure control of the WordPress theme to the user. Group is missing .wp-widget-group__inner-blocks container
  • #55103 – Twenty Twenty-Two: Restore padding for Group blocks with a background color
  • #55109 – Plugins no longer download to tmp folder
  • #55148 – In block themes, styles should load in the head
  • #55151 – View scripts of blocks are loaded in editor
  • #55161 – Full Site Editing: PHP Warning with incomplete presets
  • #55177 – Normalizing relative CSS links should skip data URIs
  • #55178 – Allow fully extending WP_Theme_JSON and WP_Theme_JSON_Resolver classes
  • #55179Backportbackport 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. bugfixes from 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/ into Core for WP 5.9.1
  • #55188 – Block styles should load after global styles in the editor
  • #55190 – Global styles duotone not rendering in post editor

The following block editor issues from 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/ are fixed:

  • PR38857 – Fix for late static binding in the resolver
  • PR38780 – Block Editor: Add settings to enable/disable auto anchor generation
  • PR38750 – Load block support styles in the head for block themes
  • PR38745 – Fix global styles loading logic
  • PR38695 – Site Editor: Limit template part slugs to Latin chars
  • PR38671 – Allow extending the WP_Theme_JSON_Gutenberg class
  • PR38656 – Edit Site: Add template check to ‘setPage’ action
  • PR38655 – Add site editor initial redirect error handling
  • PR38649 – Fix search block htmlHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. handling for label and button text 
  • PR38642 – Gallery block: copy all attributes when transforming to Image blocks
  • PR38625 – Allow child classes to use the private methods and constants
  • PR38561 – Only apply the social links block migrationMigration Moving the code, database and media files for a website site from one server to another. Most typically done when changing hosting companies. if there’s a need for a migration
  • PR38516 – Block preview: fix resize listener
  • PR38442 – Duotone: Allow users to specify custom filters
  • PR38432 – Remove the aria-label from the site title block
  • PR38399 – Images: Try moving responsive rule to common.scss. 
  • PR38362 – Cover block: Add back missing styles
  • PR38310 – Gallery block: fix bug with link destination default option not being set
  • PR38189 – Gallery: Ensure the last image takes up all available space
  • PR38070 – Post Editor: Fix template queries
  • PR37983 – Tree Grid: Fix keyboard navigation for expand/collapse table rows in Firefox
  • PR37954 – Fix duotone render in non-fse themes
  • PR37941 – Unset inherited backgrounds on Posts Lists
  • PR37895 – Site Editor: Fix broken ‘Redo’ by removing faulty logic for discarding unsaved Logo changes
  • PR37885 – Load the global styles before the theme styles in the editor
  • PR37853 – Block.json schema: update fontSize and lineHeight props
  • PR37840 – [History]: Fix redo after update/publish with transient edits
  • PR37778 – Update core/archive block schema to reflect no block-level settings support
  • PR37774 – Spacer: Fix unit settings 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.
  • PR37762 – Schema: Fix appearanceTools in theme.json schema
  • PR37650 – Site Editor: Add keyboard shortcut help modal
  • PR37647 – Site Editor: Add the “Help” link to the tools menu
  • PR37644 – Fix: Coloring panel is unusable in RTL
  • PR37569 – Docs: Add automated theme.json reference documentation
  • PR37493 – Update: make color style labels simpler
  • PR37486 – Show UI warning if Pages cannot be retrieved in Page List block
  • PR37474 – Fix empty gray circle when site has no logo on template list page
  • PR37430 – Update: Allow color gradient popover to be above the color toggle
  • PR37425 – Border panel: Collapse color controls
  • PR37248 – Site editor – try redirecting to homepage before the reactReact React is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. https://reactjs.org/. render 
  • PR37165 – Remove versioning in theme schema descriptions
  • PR37067 – Update: PanelColorGradientSettings to use dropdowns
  • PR37034 – Block Editor: Handle the absence of href attrib in links
  • PR36917 – Update theme.json version
  • PR36746 – Update theme.json schema to allow for per-block management of settings
  • PR36540 – Post 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.: Move width and height controls into the Dimensions panel via SlotFill
  • PR36411 – Schemas: Allow custom blocks in theme.json styles
  • PR36343 – Add pattern to name key in block.json Schema
  • PR36295 – Schema: Allow block.json attribute type to be an array
  • PR36236 – Fix duotone theme cache
  • PR36186 – Spacer: add custom units for height and width
  • PR30873 – Focus save button when entities save states panel is opened

What’s next?

The dev-reviewed workflow (double committercommitter A developer with commit access. WordPress has five lead developers and four permanent core developers with commit access. Additionally, the project usually has a few guest or component committers - a developer receiving commit access, generally for a single release cycle (sometimes renewed) and/or for a specific component. sign-off) is now in effect when making changes to the 5.9 branchbranch A directory in Subversion. WordPress uses branches to store the latest development code for each major release (3.9, 4.0, etc.). Branches are then updated with code for any minor releases of that branch. Sometimes, a major version of WordPress and its minor versions are collectively referred to as a "branch", such as "the 4.0 branch"..

As per the proposed WordPress 5.9.1 schedule, the final release is expected on Tuesday, February 22, 2022. Please note that this date can change depending on possible issues after RC1 is released. Coordination will happen in the WordPress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ 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/. #5-9-release-leads channel.

A special thanks to everyone who helped test, raised issues, and helped to fix tickets. With this release candidate, testing continues, so please help test!

The WordPress 5.9.1 release is led by @audrasjb and @mamaduka.

Props  @costdev, @cbringmann, @webcommsat and @audrasjb for peer review.

#5-9#5-9-1#minor-releases#releases

#5-9, #5-9-1

WordPress 5.9.x release team and 5.9.1 schedule

The 5.9.x releases will follow the same consistent minor release leads strategy as the 5.8.x releases did.

For all the 5.9.x point releases, the release leads will be:

  • Release LeadRelease Lead The community member ultimately responsible for the Release. / CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. tech: @audrasjb
  • Release Deputy / Editor tech: @mamaduka

5.9.1 proposed schedule

The following schedule is being proposed for 5.9.1:

  • 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).: Thursday, February 17, 2022
  • Final release: Tuesday, February 22, 2022

@sergeybiryukov will run mission control for this release.

TracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. tickets update

As of the publish date of this post, 21 Trac tickets have already been fixed and backported to the 5.9 branchbranch A directory in Subversion. WordPress uses branches to store the latest development code for each major release (3.9, 4.0, etc.). Branches are then updated with code for any minor releases of that branch. Sometimes, a major version of WordPress and its minor versions are collectively referred to as a "branch", such as "the 4.0 branch". to be included in 5.9.1, and 3 more have already been fixed and are waiting for proper 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.. 18 additional open tickets are currently in the 5.9.1 milestone for consideration.

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/ issues updates

As of the publish date of this post, there are 50+ pull request labelled for backporting to the 5.9 branch.

Release coordination

During the 5.9 release, a new, #5-9-release-leads channel was created in 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/. for the release squad to have all 5.9 related conversations. Because the 5.9.x releases are part of 5.9 by extension, all coordination and conversation related to the 5.9.x releases will also be held here before the channel is archived when WordPress 6.0 is released.

Thanks @hellofromtonya and @mamaduka for peer review.

#5-9, #5-9-1

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 WPCSWPCS The collection of PHP_CodeSniffer rules (sniffs) used to format and validate PHP code developed for WordPress according to the WordPress Coding Standards. May also be an acronym referring to the Accessibility, PHP, JavaScript, CSS, HTML, etc. coding standards as published in the WordPress Coding Standards Handbook. 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

Dev Chat summary – February 9, 2022

Start of the WordPress Developers Chat meeting on the Make WordPress coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. 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/. channel

Agenda. Summary from the previous week’s meeting

2. Announcements

3. Blogblog (versus network, site) posts of note

4. Releases update

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. will be 5.9.1. Update from @audrasjb:

a) 5.9.1 TracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. update
As per today and after 3 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. scrubs, we have 39 tickets in the milestone.

  • 17 are open and still in progress
  • 10 are closed as fixed (already committed and backported to branchbranch A directory in Subversion. WordPress uses branches to store the latest development code for each major release (3.9, 4.0, etc.). Branches are then updated with code for any minor releases of that branch. Sometimes, a major version of WordPress and its minor versions are collectively referred to as a "branch", such as "the 4.0 branch". 5.9)
  • 12 are committed but reopened for 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. to branch 5.9

22 tickets are already fixed, and 17 are still in the to do-list.

 b) 5.9.1 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/ update
Concerning Gutenberg, the 5.9.x project board

My understanding is that we currently have:

  • 14 items seem ready for core merge
  • 4 are waiting for review
  • 2 are in progress
  • 29 are still in the to do list. Given there is still some work on both side, a 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). (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).) this week seems a bit optimistic. Suggest an RC on next Tuesday (February 15, 2022), and final release one week after. Discussion followed.

c) Core-editor lead – this was discussed at the core editor meeting earlier today, no resolution as yet. Opportunity for volunteer.

No core editor lead for 5.9.1 as of yet:

  • WordPress 5.9.1 has a tentative release date on February 16th, 2022
  • We’re looking for release leads for Editor and Core

Volunteer needed:

  • at least someone to handle Gutenberg PRs merge
  • an experienced Gutenberg developer, someone with access to and experience of publishing Gutenberg packages
  • a specific volunteer from #core-editor at least for 5.9.1. The next point releases may be less focused on the editor 
  • could be someone who has the ability to publish package updates
  • need someone deeply involved in the editor side to help wrangle Gutenberg tickets for 5.9.1

Things are moving forward on Gutenberg side (report link above).

d) @sergeybiryukovt: a new PR is available for bringing back the temp backups feature for plugins and themes that was reverted from 5.9 due to some VirtualBox edge cases that should now be addressed. More eyes on the PR are welcome: https://github.com/WordPress/wordpress-develop/pull/2225

e) Question relating to 5.9.1: is this going to be also a security and maintenance release or only maintenance?

@desrosj: Security fixes are never disclosed ahead of time, if there are any. When there are security fixes to include, the security team will work with other contributors on a need to know basis.

@audrasjb: this is not going to be added in the Make/Core RC announcmeent, but only on the final release announcement on .org/news. If we have any security fix in this release, the security bits will be added by security team members so that’s not something to care about for now.

Open Floor

  • @costdev: Ticket 55015 – Site Editor not working for TwentyTwentyTwo Child themeChild theme A Child Theme is a customized theme based upon a Parent Theme. It’s considered best practice to create a child theme if you want to modify the CSS of your theme. https://developer.wordpress.org/themes/advanced-topics/child-themes/.. It raised an issue where the Site Editor fails to load for a TT2 child theme. The environment being used is Roots Bedrock, but the cause is that the bundled themes are stored in a separate directory to user-created/-installed themes. The issue: Core officially supports split directories, but this case has only been reported in one environment so far.The question: Opinions: Is this for Core to handle, or not?
    @sergeybiryukov: but core does indeed support multiple theme directories, so at a glance it seems like something for core to handle.

    In terms of how critical it is for 5.9.1, I’m not sure in terms of severityseverity The seriousness of the ticket in the eyes of the reporter. Generally, severity is a judgment of how bad a bug is, while priority is its relationship to other bugs., but if it’s for Core to resolve, then it’s a unintentional regressionregression A software bug that breaks or degrades something that previously worked. Regressions are often treated as critical bugs or blockers. Recent regressions may be given higher priorities. A "3.6 regression" would be a bug in 3.6 that worked as intended in 3.5. in 5.9, so it should be considered for investigation and resolution in a minor. Otherwise, testing outside of the reported environment to verify that it’s in every case of split directories would be good, and possibly a retrospective update on one of the dev notesdev note Each important change in WordPress Core is documented in a developers note, (usually called dev note). Good dev notes generally include: a description of the change; the decision that led to this change a description of how developers are supposed to work with that change. Dev notes are published on Make/Core blog during the beta phase of WordPress release cycle. Publishing dev notes is particularly important when plugin/theme authors and WordPress developers need to be aware of those changes.In general, all dev notes are compiled into a Field Guide at the beginning of the release candidate phase.. If we’re going to fix it, then maybe include when we hope to have it resolved (i.e. minor6.0 or Future Release).

Next dev chat

The team publishes an agenda the day before the weekly dev chat, which will be open for additional items. If you would like to help write the dev chat summary for a future meeting, contact the Core Team Reps @marybaum and @audrasjb.

Props to: @marybaum and @webcommsat for leading dev chat, @webcommsat for writing the summary notes. Thanks to @marybaum, @audrasjb, and @costdev for reviewing the notes.

#5-9-1, #dev-chat, #meeting-notes, #summary

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

Dev Chat summary, February 2, 2022

Link to the start of the meeting in the Make WordPress core Slack channel

Agenda for the WordPress developers chat meeting, held weekly in coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress..

Announcements

a) WordPress 5.9 retrospective (please leave your comments by February 14, 2022)
b) Proposal: 2022 major release timings (January 27, 2022)
c) Redesign of wordpress.org/news is coming
https://twitter.com/WordPress/status/1487805666093940744
Redesign first shared in the Design Team blog post (June 2021).
@estelaris: More info in the Figma about the colors.

The meeting had a limited discussion on the whether there was a new palette/ brand colors.

WordPress 5.9.1

Tickets

@audrasjb: update on tickets in milestone 5.9.1

  • 34 open tickets for now (and probably more in the awaiting review queue), so we’re probably going to have a quick point 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.
  • after dev chat, a 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 was run focusing on moving 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/ related tickets to 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/. Start of the bug scrub in Slack. 
  • it looks like Twenty Twenty Two theme will need an update in 5.9.1

Contributors/ volunteer for Editor tech lead needed

  • Still time for people to volunteer. Open to new people.
  • Core tech: @audrasjb willing to stand, but he also welcomed other volunteers
  • Editor tech lead: needed urgently. This would be a 5.9.x co-lead from the editor/Gutenberg side of things.
  • @desrosj: It may make sense to have two technical coordinators, at least for 5.9.1 (one core, one Gutenberg). Since this release is going to go out relatively quickly, it will help to have one person on each side that deeply understand the moving parts. But would help to have others around to help with the communication tasks.
  • Co-ordinators for minors to include: @marybaum

Discussions around proposed timing for 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.

  • @jeffpaul: timeline would depend a bit on the core/editor leads it seems
  • @desrosj shared his learning from others: as much as possible, final releases should happen on Tuesday or Wednesday. Thursday releases come out on Friday for some folks. So unless there’s no other option (like with a security vulnerability disclosure date, or something of that nature), Tuesday and Wednesday are preferred. Thursday releases ok for Release Candidates for minor releases.
  • @audrasjb: We have a lot of 5.9.1 TracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. tickets. Many of them need to be reported upstream on GitHub Then we need to coordinate with #core-editor team to define a scope and a planning.
  • Suggestion after discussion: 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). (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).) next Wednesday (9 February 2022) and one week after for final release as a goal.

GitHub processes

Update shared by @jeffpaul and @desrosj: The Ensuring Proper Attribution for Contributions to WordPress on GitHub proposal is temporarily withdrawn while specifics in the analysis and recommendation are updated. Please continue to read the post and comment directly on it with any additional input while a more precise proposal is updated and presented.

Component maintainers

@webcommsat: maintainers working through tickets on quick/bulk edit component. Question: is if ok to start holding scrubs for the component now that 5.9 is released as some tickets would benefit from a discussion in core?

Answers from the floor which are useful for other component maintainers and those getting involved in bug scrubs:

  • you can hold scrubs on any component whenever you choose as it is helpful to continue on Trac to keep things moving along
  • @desrosj: component maintainers are free to hold scrubs whenever they feel is appropriate
  • But the tickets may not get committed and closed if it’s too close to a release. So just choose a good ticketticket Created for both bug reports and feature development on the bug tracker. report to scrub.
  • Tutorials for leading bug scrubs. Any unanswered questions can be added.
  • @marybaum: fixed bugs can go into a minor release — but not features or enhancements
  • @jeffpaul: releasing minor versions handbook page

Next meeting

The next dev chat meeting: 9 February 2022, at 20:00 UTC. An agenda is aimed to be published on the Core blogblog (versus network, site) 24 hours before the meeting. Additional items and links to particular core posts are invited on agenda posts through the comments section.

If you would be interested in writing dev chat summary, contact Core team reps @marybaum and @audrasjb, or put yourself forward in the weekly meeting.

Props to: @webcommsat for pulling together information for the agenda and the notes, to @marybaum for leading the meeting, and to @audrasjb for reviewing the notes.

#5-9-1, #dev-chat, #summary

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