Skip to content

Create Block: Simplify blocks-manifest registration #74645

@jonathanbossenger

Description

@jonathanbossenger

What problem does this address?

In #69446 and #69767, the main plugin file template was updated to implement conditional version checks when registering blocks, to support the updates in WordPress 6.7 and 6.8 for the new blocks-manifest.php file.

According to the latest stats, fewer than 5% of WordPress installs are still on WordPress 6.7, and only 16% are on WordPress 6.8. WordPress 6.9 was released in December last year and is already at 58.4% of all installs.

What is your proposed solution?

I'm proposing that we drop the multi-check approach, update the 'Requires at least' version to 6.8, and simplify the scaffolded block registration.

At the same time, I suggest leaving the links to the posts about the changes in the scaffolded comments, so that developers who might need to create blocks for older WordPress versions can make those updates themselves.

Metadata

Metadata

No fields configured for Enhancement.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions