A Week in Core – May 9, 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 May 2 and May 9, 2022.

  • 35 commits
  • 64 contributors
  • 61 tickets created
  • 12 tickets reopened
  • 51 tickets closed

The Core team is currently working on the next major releasemajor release A release, identified by the first two numbers (3.6), which is the focus of a full release cycle and feature development. WordPress uses decimaling count for major release versions, so 2.8, 2.9, 3.0, and 3.1 are sequential and comparable in scope., WP 6.0, and released 6.0 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). 1 🛠

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/Test Tools

  • Add the 6.0 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 the workflow for testing branches
  • Allow the local development environment to run on Apple M1 machines without requiring local configuration changes – #52356
  • Ensure version number is in ‘X.X’ format after float math: Tests_Basic::test_security_md()#55667
  • Pass 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/ Actions environment variables to the Docker container – #55668
  • Improve the logic of the SECURITY.md test to check all supported versions – #55667
  • Move get_inline_data() tests to a more appropriate place – #55652
  • Temporarily disable the test for “Supported Versions” section of GitHub Security Policy

Code Modernization

  • Rename parameters that use reserved keywords in wp-admin/includes/template.php#55650
  • Rename parameters to match native PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher functions in wp-includes/compat.php#55650

Coding Standards

  • Remove extra space in wp-admin/admin-ajax.php#55692

Docs

  • Correct parameter types for serialize_block() and serialize_blocks()#55648, #54729
  • Improve plugin_install_action_links 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.’s docs – #55480
  • Remove @return void from various DocBlocks – #54729

Editor

  • Add unit testunit test Code written to test a small piece of code or functionality within a larger application. Everything from themes to WordPress core have a series of unit tests. Also see regression. for Comment Template 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.#55643, #55634
  • Sets ‘paged’ query arg only when there are comments: build_comment_query_vars_from_block()#55658
  • Update WordPress packages for 6.0 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. 4 – #55567
  • Update WordPress packages for 6.0 RC1 – #55567

General

  • Add missing strong tagtag A directory in Subversion. WordPress uses tags to store a single snapshot of a version (3.6, 3.6.1, etc.), the common convention of tags in version control systems. (Not to be confused with post tags.) to some error messages – #54437

Help/About

  • Add link to 6.0 Field GuideField guide The field guide is a type of blogpost published on Make/Core during the release candidate phase of the WordPress release cycle. The field guide generally lists all the dev notes published during the beta cycle. This guide is linked in the about page of the corresponding version of WordPress, in the release post and in the HelpHub version page., fix missing placeholder in string – #55434
  • Update the About section for 6.0 – #55434

Media

  • Remove error suppression in wp_filesize()#55678, #49412

Query

  • Restore late compact() call for the posts_clauses_request filter – #55699

Quick/Bulk Edit

  • Additional tests for showing taxonomies – #49701
  • Remove duplicate HTMLHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. IDs – #55575, #35483

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

  • Fixes /wp/v2/pattern-directory/patterns endpoint response for slug parameter – #55617

Script Loader

  • Explain why 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. prevents concatenation – #55628
  • Fix i18n edge case breaking dependencies – #55628

Security

  • Update the Security Policy to include WordPress 6.0

Site Health

  • Remove unused variables in WP_Site_Health::get_test_plugin_version()#55683

Users

  • Allow any DB field to be returned by WP_User_Query#53177
  • Improve WP_User_Query tests following [53362] – #53177

Props

Thanks to the 64 people who contributed to WordPress Core on Trac last week: @costdev (6), @SergeyBiryukov (5), @audrasjb (5), @hellofromTonya (3), @ndiego (3), @justinahinon (3), @aristath (3), @gziolo (3), @mukesh27 (3), @johnbillion (3), @bernhard-reiter (2), @peterwilsoncc (2), @spacedmonkey (2), @jrf (2), @antonvlasenko (2), @poena (2), @hellofromtonya (2), @ironprogrammer (2), @darerodz (2), @afragen (2), @zieladam (2), @dlh (1), @marybaum (1), @annezazu (1), @webcommsat (1), @dansoschin (1), @chanthaboune (1), @cbringmann (1), @sergeybiryukov (1), @eidolonnight (1), @laurlittle (1), @JeffPaul (1), @NekoJonez (1), @ocean90 (1), @luisherranz (1), @czapla (1), @cbravobernal (1), @davidbaumwald (1), @timothyblynjacobs (1), @manooweb (1), @critterverse (1), @azaozz (1), @estelaris (1), @chaion07 (1), @figureone (1), @azouamauriac (1), @antpb (1), @rajeshraval786 (1), @dd32 (1), @pbearne (1), @kraftbj (1), @boniu91 (1), @jsnajdr (1), @fcoveram (1), @ugyensupport (1), @desrosj (1), @talldanwp (1), @Cybr (1), @david.binda (1), @5um17 (1), @greglone (1), @joedolson (1), @sabernhardt (1), @pbiron (1).

Congrats and welcome to our 3 new contributors of the week: @laurlittle, @rajeshraval786, @fcoveram ♥️

Core committers: @sergeybiryukov (18), @peterwilsoncc (7), @hellofromtonya (4), @ryelle (2), @audrasjb (2), @johnbillion (1), and @gziolo (1).

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

Performance team meeting summary 10 May 2022

Meeting agenda here and the full chat log is available beginning here on Slack.

Focus group updates

Images

@adamsilverstein @mikeschroder

GitHub project

  • @adamsilverstein: Refreshed the coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. WebP patchpatch A special text file that describes changes to code, by identifying the files and lines which are added, removed, and altered. It may also be referred to as a diff. A patch can be applied to a codebase for testing. against trunktrunk A directory in Subversion containing the latest development code in preparation for the next major release cycle. If you are running "trunk", then you are on the latest revision. and started separate follow-up PRs for new featured added to the 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 since then.
  • @shetheliving: Getting pretty close to wrapping up initial proposals for API to facilitate more accurate sizes #140 and Regenerate existing images #24; next steps will be more detailed design docs and core feature proposals. Research continues on Research: Impact of additional WebP images on upload #289 and Research: WebP compatibility #290 and we’ll draft a follow-up post about our findings and next steps.
  • @adamsilverstein: For Research: Impact of additional WebP images on upload #289, working on a survey for hosting providers to gather some field data about file count and size limitations
  • @eugenemanuilov: If there’s someone who has Outlook and Windows, please test if WebP is supported for Research: WebP compatibility #290
    • @codekraft: Looks like it’s supported in the most recent version
  • @adamsilverstein: Found this summary of WebP support in OG tags; looks like sites should stick with JPEG for OG tags

Feedback requested

Object Cache

@tillkruess @spacedmonkey

GitHub project

Feedback requested

Site Health

N/A

GitHub project

  • We’re seeking 1-2 POCs for this group; if you’re interested, please comment here or 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.” 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/.
  • @furi3r: Add Site Health test for full page caching (advanced cache) #220 is almost ready to be merged

Feedback requested

Measurement

N/A

GitHub project

  • We’re seeking 1-2 POCs for this group; if you’re interested, please comment here or ping in Slack
  • No updates

Feedback requested

JavaScriptJavaScript JavaScript or JS is an object-oriented computer programming language commonly used to create interactive effects within web browsers. WordPress makes extensive use of JS for a better user experience. While PHP is executed on the server, JS executes within a user’s browser. https://www.javascript.com/.

@aristath @sergiomdgomes

GitHub project

  • No updates

Feedback requested

Infrastructure

@flixos90

GitHub project

Feedback requested

Open floor

Help wanted

#core-js, #core-media, #performance, #performance-chat, #summary

Editor Chat Agenda: 11 May 2022

Facilitator and notetaker: @paaljoachim

This is the agenda for the weekly editor chat scheduled for Wednesday, May 11 2022, 04:00 PM GMT+1. This meeting is held in the #core-editor channel in the Making 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/..

If you are not able to attend the meeting, you are encouraged to share anything relevant for the discussion:

  • If you have an update for the main site editing projects, please feel free to share as a comment or come prepared for the meeting itself.
  • If you have anything to share for the Task Coordination section, please leave it as a comment on this post.
  • If you have anything to propose for the agenda or other specific items related to those listed above, please leave a comment below.

#agenda, #core-editor, #core-editor-agenda, #meeting

Performance Chat Agenda: 10 May 2022

Here is the agenda for this week’s performance team meeting scheduled for May 10, 2022, at 15:00 UTC.


This meeting happens in the #performance channel. To join the meeting, you’ll need an account on the Making WordPress Slack.

#agenda, #meeting, #performance, #performance-chat

Summary Dev Chat, May 5, 2022

Link to the start of the meeting on the 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 followed for the meeting.

Dev Chat summary from April 27, 2022 meeting – thanks to @webcommsat for doing these.

2. Announcements

WordPress 6.0 Release Candidate 1 (released on May 3, 2022). This was the hard string freeze for the 6.0 and 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". for the release. You can help by taking part in testing and make the release the best it can be. Thank you to everyone who came to the release parties this week.

WordPress 6.0 Beta 4 was released on May 2, 2022. It was not part of the originally published development cycle. It was aimed at providing an opportunity for testing some specific issues that were resolved since 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. 3.

Early focused meetings will take place on Mondays at a revised time of 18:00 UTC. Thanks to @costdev for working on this. These meetings will mean early tickets can get the attention they need, without disrupting devchat/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. Thanks to @costdev who will be running these meetings. The meetings will focus on:

  • targeting 3-4 tickets per meeting, discussing the proposal/bug
  • updating the ticketticket Created for both bug reports and feature development on the bug tracker. with opinions/findings
  • for some tickets that require investigation, some of the investigation might be possible during the meeting, otherwise we could schedule a date/time for contributors to get together to do any necessary deep-dives (either in chat, or via mob programming)

What’s New in Gutenberg 13.1 (April 27, 2022) 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/ 13.1 brings border support to the Columns 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., a number of improvements to the Comments blocks, along with a range of 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) enhancements.

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

A Week in Core – May 2, 2022 – thanks to @audrasjb

Full Site Editing Program Testing Call 14 – Rallying Recipe Reviewers. Deadline for feedback: 18 May 2022

 4. Upcoming releases

Next major: WordPress 6.0

Updates from Release Co-coordinators and members of the squad.

@annezazu – Quick run down:

  • A new project board is being considered for 6.0.x releases for Core Editor issues as there are a few that are slated for a 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.. Stay tuned there but know bugs are being handled appropriately and are very much appreciated.
  • Check out this great post from @peterwilsoncc on what this current 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). phase means: https://make.wordpress.org/core/2022/05/04/wordpress-6-0-release-candidate-phase/
  • 6.0 RC 2 is next week on May 10, 2022 and I hope to see you all at the release party! Expect it to be around the same time at 16:00UTC.
  • About page:
    • @marybaum: Well I believe the About Page strings got committed ahead of the hard string freeze, and the rest of that process is going as it has in recent releases.
    • @annezazu: The 6.0 video in progress will also be ready in time for a commit just before the final release. It will be linked in the About Page.
    • @webcommsat: The ticket has some more details.
    • @ryelle: The About page should be pretty much done – any feedback about things looking broken is welcome, but the only changes planned are to add in the correct links.

Some other useful resources on 6.0

A recap of some of the useful resources on 6.0 including the Field GuideField guide The field guide is a type of blogpost published on Make/Core during the release candidate phase of the WordPress release cycle. The field guide generally lists all the dev notes published during the beta cycle. This guide is linked in the about page of the corresponding version of WordPress, in the release post and in the HelpHub version page.!

5. Open floor

Component maintainers

@sergeybiryukov: Build/Test Tools component: Two issues were fixed in the unit testunit test Code written to test a small piece of code or functionality within a larger application. Everything from themes to WordPress core have a series of unit tests. Also see regression. suite:

  • Pass 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/ Actions environment variables to the Docker container, so that tests that should only run on trunktrunk A directory in Subversion containing the latest development code in preparation for the next major release cycle. If you are running "trunk", then you are on the latest revision. don’t unintentionally run on other branches. See ticket #55668 for more details.
  • Update the test for supported versions in the SECURITY.md file so that major versions like 6.0 are handled correctly. See ticket #55667 for more details.

General: The Microsoft IIS configuration file was updated to account for WordPress coding standardsWordPress 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.. Testing is welcome from anyone running their own local IIS server on Windows. See ticket #53377 for more details.Date/Time, 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., Permalinks: No major news this week.

Other open floor items

  • From the release documentation team, if any component maintainers or committers are still working on dev notes for 6.0 or have not had chance to reply to @bph, please can you let her know.
  • WordCampWordCamp WordCamps are casual, locally-organized conferences covering everything related to WordPress. They're one of the places where the WordPress community comes together to teach one another what they’ve learned throughout the year and share the joy. Learn more. Europe (WCEU) Contributor DayContributor Day Contributor Days are standalone days, frequently held before or after WordCamps but they can also happen at any time. They are events where people get together to work on various areas of https://make.wordpress.org/ There are many teams that people can participate in, each with a different focus. https://2017.us.wordcamp.org/contributor-day/ https://make.wordpress.org/support/handbook/getting-started/getting-started-at-a-contributor-day/. Core Tables, June 2, 2022 – @desrosj would you like to share anything on this today? We can share this in a future week. 

 You’re invited to the 6.0 RC 2 Release Party at 16:00 UTC on May 10, 2022 (click to add to your calendar). Meet in #core and be ready to wave hello, emoji reactReact React is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. https://reactjs.org/., and help test. As always with releases, there’s a chance this time may change the day of depending on how things are progressing. If the time is changed, it will be communicated across channels (#core-editor#6-0-release-leads, and in #core). Hope to see you there!

Props to @webcommsat for the summary, @marybaum and @annezazu for reviewing

#6-0, #dev-chat, #summary

Editor chat summary: Wednesday, 4 May 2022

This post summarizes the weekly editor chat meeting on Wednesday, 4 May 2022, 14:00 UTC held in Slack.

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

George Hotelling is going to release Gutenberg 13.2 RC. The PR’s part of the release are available at https://github.com/WordPress/gutenberg/milestone/177. The release contains 154 PRs.

WordPress 6.0 Project board & WordPress 6.0 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. 4 & WordPress 6.0 RC 1

WordPress 6.0 RC was released on the 3 of May. Everything is going according to the plan no critical or blocking issue has been found. There are still some tasks on the 6.0 board https://github.com/orgs/WordPress/projects/27, these tasks will probably be part of 6.0.1.

Help Wanted: Test WordPress 6.0

Any help testing the latest version and making sure there are no issues there can have a great impact. Please try your development website with the last RC. And in case you find any issue please report it so the team can fix it.

Key projects updates

Patterns & Styles

@jorgefilipecosta share the updates for patterns and styles as follows:

Right now, we have a style object on the blocks that follow a similar shape to the 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. styles, but they are not equivalent, and also, not everything theme.json supports is supported there. The idea is to have blocks support local settings and style objects @oandregal started the work on the settings part. On the styles front we had tremendous progress that makes the style theme.json object color and typography keys be supported https://github.com/WordPress/gutenberg/pull/40332. Thank you @ramonopoly!

In order to have settings with semantic meaning, 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. instance needs to have a name and probably information related to the type of section keywords, etc. @jorgefilipecosta started and iterated on the work to implement the metadata infrastructure for these sections https://github.com/WordPress/gutenberg/pull/40393.

Comments

@santosguillamot said regarding comments he just published an update on the tracking issue of the PRs that have been merged and included later in the RC.

Task coordination

@jorgefilipecosta

Plans:

  • To merge the section’s metadata PR.
  • Help the exploded view PR get merged and the refactors it involved including the popover.
  •  Finish some tasks I have pending related to the list v2 block.

@paaljoachim

Has earlier been giving feedback through issues to various Comments block features and Going forward plans on testing WP 6.0 Beta/RC releases.

@mamaduka

Has worked on performance improvements for Navigation blocks and a few more last-minute fixes for the WordPress 6.0 release.

Open floor

UIUI User interface to create a single template

@jessica asked if there is a specific reason we can’t add single templates in the site editor?

@jorgefilipecosta said he thinks that the task is available for someone to pick.

@jessica submitted a PR fixing the issue after https://github.com/WordPress/gutenberg/pull/40830.

Wide alignments on nested blocks

@cbirdsong asked why when theme.json is enabled one can not use wide/full alignments on nested blocks liking to the issue https://github.com/WordPress/gutenberg/issues/33374. Adding that, This is the core reason my custom theme builds don’t use theme.json, and as more features are gated behind using it, he was wondering if there is any chance of some re-evaluation of disallowing nested wide/full alignments.

The team discussed this issue and concluded the issue could be divided into two parts:

  • First, the cover block is missing a layout panel.
  • The default for blocks is not “inherit default layout”.

@cbirdsong will follow up and create the two issues.

#agenda, #core-editor, #editor, #summary

Block Locking Settings in WordPress 6.0

WordPress 6.0 makes it easier to lock blocks using the new controls modal. The release also includes two new settings to choose who can access this option and when.

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 new canLockBlocks setting can disable the feature globally or conditionally. Example:

add_filter(
	'block_editor_settings_all',
	function( $settings, $context ) {
		// Allow for the Editor role and above - https://wordpress.org/support/article/roles-and-capabilities/.
		$settings['canLockBlocks'] = current_user_can( 'delete_others_posts' );

		// Only enable for specific user(s).
		$user = wp_get_current_user();
		if ( in_array( $user->user_email, [ 'user@example.com' ], true ) ) {
			$settings['canLockBlocks'] = false;
		}

		// Disable for posts/pages.
		if ( $context->post && $context->post->post_type === 'page' ) {
			$settings['canLockBlocks'] = false;
		}

		return $settings;
	},
	10,
	2
);

Blocks

The lock property allows hide controls on a block type level. Example:

{
	"apiVersion": 2,
	"supports": {
		"lock": false
	}
}

For more info see #39183.

An earlier post on this blogblog (versus network, site) covers, the Curated experiences with locking APIs & theme.json

#6-0, #dev-notes, #dev-notes-6-0

Updates to the @wordpress/create-block templating system

A powerful feature of the @wordpress/create-block package is the ability to create templates to allow customization of how 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. is structured.

WordPress 6.0 introduces some new template variables to allow even more customization. Templates can now use the customScripts variable to create new entries in the scripts property of the package.json file and while it was already possible to define dependencies, it is now also possible to defined a list of development dependencies using the npmDevDependencies variable. In addition to these new template variables, the @wordpres/env package will automatically be added to the list of devDependences when the template uses the wpEnv template variable or if the —wp-env flag is passed as a command line argument.

For more info see #38535#39723, and #38530.

#6-0, #dev-notes, #dev-notes-6-0

WordPress 6.0 Release Candidate Phase

Now that WordPress 6.0 has entered the Release Candidaterelease candidate One of the final stages in the version release cycle, this version signals the potential to be a final release to the public. Also see alpha (beta). phase, the following policies are in place.

These policies mainly cover how and when CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. committers can commit. For non-committing contributors, this post may help explain why a Core 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. makes a certain decision.

String Freeze

To allow the Polyglots teamPolyglots Team Polyglots Team is a group of multilingual translators who work on translating plugins, themes, documentation, and front-facing marketing copy. https://make.wordpress.org/polyglots/teams/. time to get their local language’s translationtranslation The process (or result) of changing text, words, and display formatting to support another language. Also see localization, internationalization. of WordPress ready, no new strings are permitted to be added to the release. Existing strings can be removed and/or duplicated if needed.

Seek guidance from the Polyglots team leadership for any strings reported as buggy. A buggy string is one that can not be translated to all languages in its current form. 

Tickets on the WordPress 6.0 milestone

For the remainder of the cycle, only two types of tickets may be placed on/remain on the 6.0 milestone:

  • Regressions: bugs that have been introduced during the WordPress 6.0 development cycle, either to existing or new features.
  • Test suite expansion: tests can be committed at any time without regard to code or string freezes. This can cover either new or existing features.

Trunktrunk A directory in Subversion containing the latest development code in preparation for the next major release cycle. If you are running "trunk", then you are on the latest revision. is now WordPress 6.1-alpha

WordPress 6.0 was recently forked to its own 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"., trunk is now open for commits for the next version of the software.

Backporting to the 6.0 branch

Backporting commits of production code (that is, anything that ends up in the zip file) now requires double sign-off by two core committers. The dev-feedback keyword should be used to request a second committer’s review, dev-reviewed should be added to indicate a second committer has reviewed and approved the commit to the 6.0 branch.

Commits to the test suite do not require double sign-off.

Dev Chat Agenda, May 4, 2022

This weekly WordPress Developers Chat takes place in the #Core channel of the Make 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/. on Wednesday May 4, 2022 at 20:00 UTC. All welcome.

1. Welcome

Dev Chat summary from the meeting on April 27, 2022 – @webcommsat

2. Announcements

WordPress 6.0 Release Candidate 1 (released on May 3, 2022). This was the hard string freeze for the 6.0 and 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". for the release.

WordPress 6.0 Beta 4 (released on May 2, 2022).

Early focused meetings will take place on Mondays at a revised time of 18:00 UTC.

What’s New in Gutenberg 13.1 (April 27, 2022).

3. Blogblog (versus network, site) posts of note to coreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress.

Key links for 6.0 and updates from the squad will be in the agenda item 4, after these blog posts.

A Week in Core – May 2, 2022

Full Site Editing (FSE) Outreach Program Testing Call 14: Rallying Recipe Reviewers (April 28, 2022). Leave feedback by May 18, 2022

Any others?

4. Upcoming releases

Next major: WordPress 6.0

Updates from Release Co-ordinators and members of the squad.

Useful resources/ calls for testing

5. Open floor

If you have any items for Open Floor, please add them in the comments below.

If you are a component maintainer and wish to raise a ticketticket Created for both bug reports and feature development on the bug tracker. in dev chat or give an update, you can also add information in the comments section.

Could you help with writing the summary from dev chat for a future meeting? Comment below or message core team reps @marybaum and @audrasjb in the Core Slack channel.

Props to: @webcommsat and @marybaum for working on items for the agenda.

#6-0, #agenda, #dev-chat