[wp-meta] [Making WordPress.org] #5513: Registered blocks list on plugins README displaying wrong labels.

Making WordPress.org noreply at wordpress.org
Tue Nov 17 20:42:15 UTC 2020


#5513: Registered blocks list on plugins README displaying wrong labels.
------------------------------+---------------------
 Reporter:  wetah             |       Owner:  (none)
     Type:  defect            |      Status:  new
 Priority:  normal            |   Milestone:
Component:  Plugin Directory  |  Resolution:
 Keywords:                    |
------------------------------+---------------------

Comment (by Otto42):

 It is possible that it is not recognizing the blocks from the
 registerBlockType call because your JS code is compressed and unreadable.

 Where are the calls to the registerBlockType function in the plugin, for
 these blocks? If it can't find the title of the block, then it defaults
 the title to the name of the plugin.

 The code to find the blocks in the plugin is complex, but public:
 https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html
 /wp-content/plugins/plugin-directory/cli/class-import.php#L729

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


More information about the wp-meta mailing list