mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-15 01:54:30 +00:00
d3e0b4bc163a875a59d677cda0c52bbf1ad6df3d
This was previously attempted in [41043], which unfortunately had severe performance issues, the regex it used was fatally slow on long posts. This version now uses an array of all emoji that Twemoji supports, which maintains the accuracy of [41043], while being the same speed or only a few ms slower than the code prior to [41043]. As with [41043], the `grunt precommit:emoji` task detects when `twemoji.js` has changed, and regenerates the array. Props jmdodd for feedback, suggestions, and insults where appropriate. Fixes #35293. 🤞🏻 git-svn-id: https://develop.svn.wordpress.org/trunk@41701 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
80.5%
CSS
9.4%
JavaScript
8.5%
SCSS
0.9%
HTML
0.7%