[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
Fri Feb 18 14:48:56 UTC 2022


#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:
-----------------------------+---------------------

Comment (by gziolo):

 An initial step could be also listing the folders to loads `block.json` in
 the plugin metadata. You would still need the PHP file, but we could
 simplify block registration for devs and make it so much simpler to detect
 blocks for the Plugin and Block Directory.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53149#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list