[wp-meta] [Making WordPress.org] #5910: Block Directory: Plugins are suggested for missing core blocks

Making WordPress.org noreply at wordpress.org
Wed Sep 22 00:55:07 UTC 2021


#5910: Block Directory: Plugins are suggested for missing core blocks
------------------------------+---------------------
 Reporter:  ryelle            |       Owner:  (none)
     Type:  defect            |      Status:  new
 Priority:  normal            |   Milestone:
Component:  Plugin Directory  |  Resolution:
 Keywords:                    |
------------------------------+---------------------

Comment (by tellyworth):

 When processing block-directory blocks, `skip core/*`, so they aren't
 added as `block_name` meta values (and thus won't be returned in the API)

 This makes a lot of sense to me. It seems like a bad idea to allow plugins
 to claim those blocks in the plugin directory. There are only 5 plugins
 that do it currently, including THRON. I think that's in part because the
 block validator rejects any that use non-unique namespaces including
 `core`.

 The first suggestion of special handling for core blocks might make sense
 also but I'd see that as a defensive thing in addition to the directory
 meta fix above. From the user's POV it might be nice to tell them "this
 core block was disabled by plugin xyz", though that's probably tricky to
 determine in code.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5910#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list