[wp-meta] [Making WordPress.org] #5303: Block plugin validation tool UI improvements

Making WordPress.org noreply at wordpress.org
Thu Jul 9 17:44:56 UTC 2020

#5303: Block plugin validation tool UI improvements
 Reporter:  tellyworth        |       Owner:  (none)
     Type:  task              |      Status:  new
 Priority:  normal            |   Milestone:
Component:  Plugin Directory  |  Resolution:
 Keywords:                    |

Comment (by Ipstenu):

 >  If you add a block.json for each block, and specify that
 registration/#parent-optional parent relationship] it should understand
 that — so List Item should have a property `parent: [listicle]`; list
 title & list content should have `parent: [list item]` (using the block

 Yeah that's exactly what I did.

 * listitem.js has `parent: [ 'lez-library/listicles' ],`
 * listdt.js has `parent: [ 'lez-library/listitem' ],`

 So all it's doing is saying "Hey, you have multiple items picked as
 parents" which ... yes? Could it not check if the item it picked as parent
 _also_ has a parent?

 If not, it's no big, but we should have a note in the docs that says
 "grandchildren items may cause a false positive"

Ticket URL: <https://meta.trac.wordpress.org/ticket/5303#comment:17>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org

More information about the wp-meta mailing list