Make WordPress Core

Opened 7 weeks ago

Last modified 7 weeks ago

#49861 new enhancement

Emoji javascript comment

Reported by: superpoincare Owned by:
Milestone: 5.5 Priority: normal
Severity: normal Version: 5.4
Component: Build/Test Tools Keywords:
Focuses: javascript Cc:


The line

/*! This file is auto-generated */

appears in the front end of the emoji code in the head

It look unusual for it to appear in html.

Change History (1)

#1 @SergeyBiryukov
7 weeks ago

  • Component changed from General to Build/Test Tools
  • Milestone changed from Awaiting Review to 5.5

Thanks for the ticket!

Introduced in [46589] / #48424.

It seems like we could either:

  • Remove the banner from wp-emoji-release.min.js.
  • Or (preferably) use grunt-include-replace instead of grunt-includes for including the file, since it doesn't look like the latter can remove something from the file contents before including.
Note: See TracTickets for help on using tickets.