[wp-trac] [WordPress Trac] #48529: Add fields to WP_Block_Type

WordPress Trac noreply at wordpress.org
Thu Nov 14 14:04:18 UTC 2019


#48529: Add fields to WP_Block_Type
--------------------------+------------------------------
 Reporter:  spacedmonkey  |       Owner:  spacedmonkey
     Type:  enhancement   |      Status:  assigned
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  5.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by aduth):

 There's at least one condition which tests `isset` on a property of this
 class, where we're now always assigning a default. Do those need to be
 updated?

 https://github.com/WordPress/wordpress-develop/blob/6cf77db/src/wp-
 includes/class-wp-block-type.php#L134-L138

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


More information about the wp-trac mailing list