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

WordPress Trac noreply at wordpress.org
Sat Feb 20 13:25:09 UTC 2021


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

Comment (by ediamin):

 @peterwilsoncc You are right, $render_callback should be `callable|null`.
 I've added an updated patch with this change based on the `48640.3.diff`
 by @audrasjb.

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


More information about the wp-trac mailing list