[wp-trac] [WordPress Trac] #59313: Implement Block Hooks

WordPress Trac noreply at wordpress.org
Thu Sep 14 14:54:56 UTC 2023


#59313: Implement Block Hooks
-------------------------------------------------+-------------------------
 Reporter:  Bernhard Reiter                      |       Owner:  Bernhard
                                                 |  Reiter
     Type:  enhancement                          |      Status:  assigned
 Priority:  high                                 |   Milestone:  6.4
Component:  Editor                               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch gutenberg-merge has-unit-  |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by gziolo):

 In [changeset:"56588" 56588]:
 {{{
 #!CommitTicketReference repository="" revision="56588"
 Tests: Improve the assertions for REST API endpoint for block types

 Follow-up to [56587], [55673]. While working on #59346, it was noted that
 selectors fiels is not always included in the assertions. While looking at
 it is was difficult to spot the issue because the random order of how REST
 API fields where listed.

 Reorderd the REST API fields in the test cases to follow the list from the
 documentation: https://github.com/WordPress/gutenberg/blob/trunk/docs
 /reference-guides/block-api/block-metadata.md. This way it's going to be
 easier to maintain the list moving forward.

 Props ockham.
 See #59346, #59313, #57585.
 }}}

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


More information about the wp-trac mailing list