[wp-trac] [WordPress Trac] #51529: Add the new api_version property to the block type object.

WordPress Trac noreply at wordpress.org
Tue Oct 20 07:52:22 UTC 2020


#51529: Add the new api_version property to the block type object.
-------------------------+--------------------------
 Reporter:  youknowriad  |       Owner:  youknowriad
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  5.6
Component:  Editor       |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:
-------------------------+--------------------------
Changes (by youknowriad):

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


Comment:

 In [changeset:"49224" 49224]:
 {{{
 #!CommitTicketReference repository="" revision="49224"
 Block Editor: Expose api_version in the block type and the REST endpoint.

 The new block editor included in 5.6 introduces an api_version property
 that indicates which block API version the block is using.
 This commits makes this property available on the block type and the
 endpoint.

 Props TimothyBlynJacobs, gziolo.
 Fixes #51529.
 }}}

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


More information about the wp-trac mailing list