#64639 closed defect (bug) (fixed)
Allow PHP-Only Block Registration
| Reported by: | wildworks | Owned by: | wildworks |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.0 |
| Component: | Editor | Version: | |
| Severity: | normal | Keywords: | has-patch has-unit-tests gutenberg-merge add-to-field-guide needs-dev-note |
| Cc: | Focuses: |
Description (last modified by )
This ticket tracks the backport of PHP files for the following Gutenberg updates:
https://github.com/WordPress/gutenberg/pull/75543
If the supports.auto_registersupports.autoRegister flag is opted in when executing register_block_type(), those blocks will be exposed as the autoRegisterBlocks block editor setting.
The editor will use that setting to generate the blocks using server-side rendering.
Change History (10)
This ticket was mentioned in PR #10932 on WordPress/wordpress-develop by @wildworks.
5 months ago
#1
- Keywords has-patch has-unit-tests added
@wildworks commented on PR #10932:
5 months ago
#3
@oandregal, Based on your suggestion, I've added server-side type checking in 658b7af6ed40562da9aabaaad86c4b66d1e75525. I'd be happy to see if this is what you wanted.
@oandregal commented on PR #10932:
5 months ago
#4
@t-hamano thank you, that's great :)
@wildworks commented on PR #10932:
5 months ago
#5
@oandregal Thanks for the review! After committing this PR to core, I would like to backport similar changes to Gutenberg.
#8
@
4 months ago
This is THE FIRST block-editor-related good news since Gutenberg was first implemented.
#9
@
4 months ago
- Keywords add-to-field-guide needs-dev-note added
This will need a dedicated dev note.
@wildworks are you gonna handle that task?
And of course it's worth a mention in the Field Guide.
#10
@
4 months ago
A dev note for this feature is being tracked on the Gutenberg side and has just been published.
https://make.wordpress.org/core/2026/03/03/php-only-block-registration/
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Trac ticket:
## Use of AI Tools