[wp-trac] [WordPress Trac] #48640: Update docblocks of register block type related function and classes

WordPress Trac noreply at wordpress.org
Sun Aug 9 17:44:48 UTC 2020


#48640: Update docblocks of register block type related function and classes
-------------------------------------+-----------------------------
 Reporter:  ediamin                  |       Owner:  SergeyBiryukov
     Type:  task (blessed)           |      Status:  reviewing
 Priority:  normal                   |   Milestone:  5.6
Component:  Editor                   |     Version:  5.0
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:  docs
-------------------------------------+-----------------------------

Comment (by ediamin):

 @SergeyBiryukov Since the newly added param doesn't have any description
 of their own in class `WP_Block_Type`, I added them using the description
 I've found in
 https://github.com/WordPress/gutenberg/blob/master/packages/blocks/src/api/registration.js
 and https://github.com/WordPress/gutenberg/blob/master/docs/designers-
 developers/developers/block-api/block-registration.md

 If you think they are not appropriate, please suggest how I can improve.

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


More information about the wp-trac mailing list