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

WordPress Trac noreply at wordpress.org
Tue Feb 23 19:16:40 UTC 2021


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

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"50419" 50419]:
 {{{
 #!CommitTicketReference repository="" revision="50419"
 Docs: Improve documentation for `WP_Block_Type` properties.

 Add a reference to `WP_Block_Type::__construct()` for information on
 accepted arguments in `register_block_type()`.

 Synchronize the documentation between several places, use
 `WP_Block_Type::__construct()` as the canonical source.

 Props ediamin, audrasjb, peterwilsoncc.
 Fixes #48640.
 }}}

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


More information about the wp-trac mailing list