
This plugin disables the WordPress emoji functionality, removing unnecessary code bloat that adds support for emojis in older browsers.
wp_head and the adminwp_print_styles and admins.w.orgwpemoji TinyMCE pluginEmojis will still display in modern browsers that have built-in support. This plugin simply removes the extra HTTP requests and JavaScript overhead for browsers that don’t need it. Additionally, it prevents DNS prefetching to WordPress.org’s emoji CDN, improving privacy.
Note: Emoticons like :) will continue to work as expected.
This plugin does not send any data to external servers. It disables DNS prefetching of emojis within WordPress, which should ensure improved privacy. To determine if your site is GDPR compliant, please seek legal advice. I have done my best to ensure the plugin is 100% GDPR compliant, but I am not a lawyer so cannot guarantee anything.
The plugin uses:
src/ are autoloaded via Composer under the RyanHellyer\DisableEmojis namespace.ExecutableModule, bootstrapped via the library’s Package class.All code uses declare(strict_types=1) and follows PSR-12. The plugin runs the following tooling:
composer phpcs) — sniffs for PSR-12 violationscomposer cs) — dry-run style checkcomposer phpstan) — static analysis