[wp-trac] [WordPress Trac] #53363: Test tool and unit test improvements for 5.9

WordPress Trac noreply at wordpress.org
Mon Dec 6 10:12:47 UTC 2021


#53363: Test tool and unit test improvements for 5.9
--------------------------------------+---------------------
 Reporter:  desrosj                   |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  5.9
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"52325" 52325]:
 {{{
 #!CommitTicketReference repository="" revision="52325"
 Build/Test Tools: Remove the `replace:emoji-banner-text` Grunt task.

 The task was previously used to ensure that `/*! This file is auto-
 generated */` comment is not included on front end as part of the inline
 emoji detection script.

 As the `wp-emoji-loader.js` script is now included via
 `file_get_contents()` and `wp_print_inline_script_tag()` instead of
 `grunt-include` to simplify the logic, the task does not find anything to
 replace and is no longer necessary.

 Additionally, include a line break before the `wp-emoji-loader.js` script
 content for better line wrapping.

 Follow-up to [48096], [50651], [52132].

 See #44632, #44306, #53363.
 }}}

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


More information about the wp-trac mailing list