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

WordPress Trac noreply at wordpress.org
Thu Nov 14 15:03:05 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):

 But unless I'm mistaken, since the patch proposes to assign a default
 value for `$attributes`, that condition could never be `true` (unless
 someone went out of their way to `unset( $block_type->attributes )`).

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


More information about the wp-trac mailing list