Local Twemoji is a WordPress plugin to serve fallback emoji images from your own site URL rather than the
WordPress.org CDN.
The purpose of this plugin is to aid sites served over a CDN as browsers now cache requests on a per site basis rather than globally.
The effect of this is that the
WordPress.org CDN's splat image is treated as two different images if downloaded from site-one.example and site-two.example. You can read more about this in the Chrome post on
cache partitioning.
For sites served over a CDN, downloading the image from your own URL will be quicker as it reduces the number of servers the visitor's browser needs to connect to.
WordPress version support
A new version of Twemoji is released each time the emoji are added to the Unicode specification, each major version bump of Twemoji will contain new images.
To avoid the risk of serving broken images to your visitors, this plugin should be kept up to date.
- WordPress 6.9 or later requires Local Twemoji 1.3.1 or later
- Earlier versions of WordPress require Local Twemoji 1.1.0 or later
1.4.0
- Changed: Add Emoji 17 to playground preview import.
- Changed: Optimize images during Twemoji update.
- Fix: Remove composer files from WordPress.org deployment.
- Fix: Prevent direct access to PHP files.
- Dev: Add PHP 8.5 to test suite.
- Dev: Add WordPress 6.9 to test suite.
- Dev: Replace deprecated github-proxy.com in update script.
- Dev: Allow Twemoji update issues to be closed as not planned.
1.3.1
1.3.0
Full changelogs
View the
releases on GitHub for the full change logs. This log will contain only the most recent three releases.