Making WordPress.org

Opened 3 years ago

Last modified 2 months ago

#5623 new defect (bug)

Blocks list incorrect on plugin directory page

Reported by: daisyo's profile daisyo Owned by:
Milestone: Priority: normal
Component: Plugin Directory Keywords:
Cc:

Description

The blocks listed on some plugin directory pages don't appear to line up with what is available when the plugin is installed.

The example I identified is https://wordpress.org/plugins/layout-grid/

There are technically two blocks but one is only accessible as an inner block and they do have different names and labels in the plugin code.

For reference:

Block registration: https://github.com/Automattic/block-experiments/blob/master/blocks/layout-grid/index.php#L4

Block definitions: https://github.com/Automattic/block-experiments/blob/master/blocks/layout-grid/src/index.js

Change History (3)

#1 @dufresnesteven
3 years ago

Relevant Tickets: #5207 #5303

#2 @coffee2code
9 months ago

  • Component changed from General to Plugin Directory
  • Summary changed from Locks list incorrect on plugin directory page to Blocks list incorrect on plugin directory page

#3 @dd32
2 months ago

The example in question here now uses block.json for the parent block.

The way the WordPress.org extraction works, is that it uses either block.json OR the function call extraction.

Personally, I think it should do both.

Note: See TracTickets for help on using tickets.