[wp-trac] [WordPress Trac] #49927: Editor: Introduce block context

WordPress Trac noreply at wordpress.org
Tue Oct 3 08:53:09 UTC 2023


#49927: Editor: Introduce block context
---------------------------------------------------+---------------------
 Reporter:  aduth                                  |       Owner:  gziolo
     Type:  enhancement                            |      Status:  closed
 Priority:  normal                                 |   Milestone:  5.5
Component:  Editor                                 |     Version:
 Severity:  normal                                 |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests has-dev-note  |     Focuses:
---------------------------------------------------+---------------------

Comment (by gziolo):

 In [changeset:"56761" 56761]:
 {{{
 #!CommitTicketReference repository="" revision="56761"
 Tests: Rename and improve the `blocks/context.php` file to follow handbook


 Renames `context.php` and `Tests_Blocks_Context` to `renderBlock.php` and
 `Tests_Blocks_RenderBlock`. See
 https://make.wordpress.org/core/handbook/testing/automated-testing
 /writing-phpunit-tests/#test-classes.

 Simplifies also the tear_down method by using the same convention as in
 [56759].

 Props costdev, ockham.
 Follow-up [48224].
 See #49927.
 }}}

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


More information about the wp-trac mailing list