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

WordPress Trac noreply at wordpress.org
Thu Jun 4 06:05:52 UTC 2020


#48529: Add fields to WP_Block_Type
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:
                                                 |  spacedmonkey
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  5.5
Component:  Editor                               |     Version:  5.0
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-dev-note has-unit-     |     Focuses:
  tests commit                                   |
-------------------------------------------------+-------------------------
Changes (by gziolo):

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


Comment:

 In [changeset:"47907" 47907]:
 {{{
 #!CommitTicketReference repository="" revision="47907"
 Blocks: Update default value for some fields in WP_Block_Type

 Related to the issue with default values for the blocks registered on the
 server. By using null for some fields we can treat them as undefined on
 the client.

 See: WordPress/gutenberg#22849.
 Props aduth.
 Fixes #48529.
 }}}

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


More information about the wp-trac mailing list