[wp-trac] [WordPress Trac] #53149: Plugins: Consider using `block.json` file as an entry point for blocks from Block Directory
WordPress Trac
noreply at wordpress.org
Wed May 5 14:07:30 UTC 2021
#53149: Plugins: Consider using `block.json` file as an entry point for blocks from
Block Directory
-----------------------------+---------------------
Reporter: gziolo | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion | Focuses:
-----------------------------+---------------------
Changes (by desrosj):
* keywords: => 2nd-opinion
* milestone: Awaiting Review =>
Comment:
@gziolo I think that the Meta Trac may be a better place for this initial
discussion to be had (it may not be possible with how the directory is set
up).
As far as I know, a PHP file is required because Block Directory plugins
are just a specific type of plugin and have to adhere to the same
requirements around required files. The main PHP file in the plugin is
used for the [https://developer.wordpress.org/plugins/plugin-basics
/header-requirements/ plugin headers] so that the plugin can be
activated/deactivated.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53149#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list