[wp-trac] [WordPress Trac] #58472: Emoji loader script causes ~100ms long task

WordPress Trac noreply at wordpress.org
Tue Jun 27 03:21:34 UTC 2023


#58472: Emoji loader script causes ~100ms long task
--------------------------+--------------------------------------
 Reporter:  westonruter   |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  accepted
 Priority:  high          |   Milestone:  6.3
Component:  Emoji         |     Version:  4.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  javascript, performance
--------------------------+--------------------------------------
Changes (by westonruter):

 * keywords:  has-patch changes-requested => has-patch


Comment:

 Pull request ready for full review: https://github.com/WordPress
 /wordpress-develop/pull/4562

 I've restored ES3 compatibility and the logic is now short-circuiting when
 `Promise` is undefined, which will prevent errors from surfacing in IE11.

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


More information about the wp-trac mailing list