Disable Emojis (GDPR friendly)

Beschreibung

This plugin disables the WordPress emoji functionality, removing unnecessary code bloat that adds support for emojis in older browsers.

What it does

  • Removes the emoji detection script from wp_head and the admin
  • Removes emoji styles from wp_print_styles and admin
  • Removes emoji DNS prefetching, preventing connections to s.w.org
  • Removes the wpemoji TinyMCE plugin
  • Strips emoji CDN hostname from DNS prefetch hints

Performance & Privacy

Emojis 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.

Requirements

  • PHP 7.4+
  • WordPress 5.0+

DSGVO-Konformität

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.

Architecture

The plugin uses:

  • PSR-4 autoloading — classes in src/ are autoloaded via Composer under the RyanHellyer\DisableEmojis namespace.
  • Inpsyde Modularity — the plugin is structured as a module implementing ExecutableModule, bootstrapped via the library’s Package class.

Quality

All code uses declare(strict_types=1) and follows PSR-12. The plugin runs the following tooling:

  • PHP_CodeSniffer (run via composer phpcs) — sniffs for PSR-12 violations
  • PHP-CS-Fixer (run via composer cs) — dry-run style check
  • PHPStan at level 6 (run via composer phpstan) — static analysis

Installation

Standard installation

  1. Upload the disable-emojis folder to /wp-content/plugins/, or install via the WordPress plugin installer
  2. Activate the plugin through the Plugins screen in WordPress
  3. Done! Emoji bloat is automatically removed.

Composer installation

If your site uses Composer for dependency management:

composer require ryanhellyer/disable-emojiis

Visit the Disable Emojis plugin page for more information.

FAQ

Will this break emojis on my site?

No. Modern browsers have built-in emoji support. This plugin only removes the JavaScript and CSS that WordPress adds for very old browsers.

Will emoticons still work?

Yes. Text-based emoticons like :) and :D will continue to work as they always have.

Is this plugin GDPR compliant?

It does not connect to any external servers or send any data. It removes the DNS prefetch to WordPress.org’s emoji CDN. See the GDPR section above for details.

Rezensionen

9. Juni 2025
Disable Emojis by Ryan Hellyer is a gem! With 60k+ active installs and nearly perfect 5-star rating, it’s clearly doing something right. This lightweight plugin strips out WordPress’s bloated emoji code while keeping your content looking great in modern browsers. The GDPR-friendly bonus is huge – it stops DNS prefetching to external emoji servers, protecting visitor privacy. Ryan’s been maintaining this for years and it shows. Your site loads faster, stays compliant, and emojis still work naturally. Win-win-win!
Alle 108 Rezensionen lesen

Mitwirkende und Entwickler

„Disable Emojis (GDPR friendly)“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

„Disable Emojis (GDPR friendly)“ wurde in 22 Sprachen übersetzt. Danke an die Übersetzer für ihre Mitwirkung.

Übersetze „Disable Emojis (GDPR friendly)“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN-Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

1.9 (2026-05-06)

  • Name spacing the PSR implementation to prevent plugin clashes

1.8 (2026-04-30)

  • Refactor for modern PHP standards

1.7.8 (2026-04-29)

  • Unterstützung neuerer WordPress-Versionen bestätigt.

1.7.7 (2024)

  • Unterstützung neuerer WordPress-Versionen bestätigt.

1.7.6 (2023-06-28)

  • Unterstützung neuerer WordPress-Versionen bestätigt.

1.7.5 (2023-05-19)

  • Composer-Unterstützung hinzugefügt.

1.7.4 (2018-07-05)

  • Tippfehler behoben.

1.7.3 (2018-07-05)

  • Version bump.

1.7.2 (2018-07-05)

  • Subtile Verbesserung der Code-Sauberkeit.
  • Dokumentation zu DSGVO-Problemen verbessert.

1.7.1 (2018-06-13)

  • Added GDPR friendly label.

1.7 (2017-08-04)

  • DNS-Prefetch-URL erneut entfernt.
  • Using simple string check rather than relying on internal WordPress filters.

1.6 (2017-07-19)

  • Removed DNS prefetch URL. Props to Aaron Queen.

1.5.3 (2016-12-19)

  • Catering to new DNS prefetch URL in version 4.7 of core.

1.5.2 (2016-08-23)

  • Dokumentation verbessert.
  • Removed redundant DNS prefetching.

1.5.1 (2016-08-23)

  • Dokumentation aktualisiert.

1.5 (2017-08-04)

  • Catering for invalid plugin array.

1.4 (2018-06-13)

  • Aktualisierung, um Ottos Code nutzen zu können.

1.3 (2018-05-04)

  • Überflüssige Stile entfernt.

1.2 (2016-08-23)

  • Fehler behoben.

1.1 (2016-08-23)

  • Aktualisierung für Kompatibilität mit der neuesten Beta.

1.0 (2015-03-22)

  • Erstveröffentlichung.