Emoji Settings

説明

Quickly enable or disable emojis conversion with an option.

When you disable the option, Emoji Settings stops the conversion of ASCII smilies like :) and :D to images on any WordPress installation. This plugin also prevents changing real emojis to Twemoji (Twitter) images. It achieves this by removing several default WordPress scripts.

You can find the option at “Settings > Writing” (/wp-admin/options-writing.php).

This plugin does not prevent real emojis (inserted via an emoji keyboard) from being stored and outputted on your website.

Emoji conversion enabled by default

I wrote this plugin with a WordPress.com-like environment in mind, giving users an option without overriding standard WordPress behavior.

You can change this behavior via filter cw_emoji_overrides. Refer to the code for instructions.

Does more than “Disable Emojis”

Emoji Settings also fixes Character Encoding issues on sites originally installed with WP 4.2 or lower. And this plugin correctly removes the conversion of emojis in the admin area, for example, from post titles.

翻訳

You can contribute by translating Emoji Settings via the sidebar on this page.

インストール

  1. Install Emoji Settings either via the WordPress.org plugin directory or by uploading the files to your server.
  2. Either Network Activate this plugin or activate it on a single site.
  3. You can now disable emojis through the admin menu under wp-admin/options-writing.php.
  4. That’s it! Enjoy!

FAQ

How do I disable emojis by default

You can implement this filter to achieve that:

add_filter( 'cw_emoji_overrides', function( $overrides ) {
    $overrides['default'] = '0'; // Set disabled by default.
    return $overrides;
} );

評価

2022年8月29日
I tried another plugin that has more than 70k installation, but it didn’t work for some reason it was converting the emoji to svg, but this plugin solved my problem smoothly, thank you
2021年5月16日
Finally a plugin that really works with 5.7.2 😀 Thank you!
2018年12月28日
i had problems, that some smileys were shown as broken characters, after i’ve deactivated emoticons in general via functions.php. this plugin fixes the issue, all smileys are now shown as they should, as plain text. perfect 🙂
2017年2月6日
In IE11, my page stopped loading at the WP emoji settings script. Installing this plugin and disabling emojis solved my problem. Thanks.
12件のレビューをすべて表示

貢献者と開発者

Emoji Settings はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Emoji Settings” は9ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Emoji Settings” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

2.0.0

  • Rewritten for improved performance.
  • Now requires PHP 7.2 or later.
  • Now requires WP 5.5 or later because it adds tests against PHP support.
  • All function and class names have changed due to added namespacing, hence the major version bump.
  • Added filter cw_emoji_overrides, accepts array [ 'default' => string 1|0, 'force_support' => ?bool ].
  • Removed confusing filter the_emoji_options.
  • Changed the option label from “Enable emoji support” to “Enable emoji conversion”: this plugin prevents the conversion; it does not prevent actual emojis from being stored and printed.

1.2.0

  • Now properly removes the detection script and styles from all admin screens.
  • Now requires PHP 5.6 or later.
  • Tested up to WP 6.0.

1.1.1

  • Tested up to WP 4.9.

1.0.10

  • Fixed: When the_emoji_options filter was incorrectly used, a PHP notice would be cast on every page load.
  • Fixed: Updated license links in readme and included license file.
  • Fixed: Readme typos.

1.0.9

  • Improved: Overall sanitation (WordPress.com VIP standards).
  • Changed: The class loader function caches the filter within as well.
  • Updated: POT file.
  • Removed: Dutch translation files; these are now provided through WordPress.org.
  • Other: Cleaned up code.
  • Note: Plugin license is upgraded from GPLv2+ to GPLv3.

1.0.8

  • Improved: (performance) Saving Writing Settings no longer casts the Emoji Setting to an 1 or 0 string when it’s already an 1 or 0 string.
  • Improved: (performance) Removed boolean type casting on a boolean if statement.
  • Other: This plugin’s description on the activation page is much shorter.

1.0.7

  • Note: With more than 1000 hours of extra PHP programming experience, I’ve updated this plugin to the latest WordPress and PHP coding standards.
  • Added: WordPress.org translation compatibility.
  • Added: Local PHP option caching.
  • Added: Class caching.
  • Added: New filter. See “Other Notes” on this plugin’s homepage.
  • Added: POT translation file.
  • Changed: Plugin translation domain.
  • Updated: Translation files.
  • Improved: The defaults filter is now always cast to an array.
  • Improved: Reduced plugin memory footprint.
  • Cleaned up code.

1.0.6

  • Fixed: PHP Warning when saving options on old WP installations.
  • Changed: Improved plugin efficiency.
  • Tested up to WP 4.4.0

1.0.5

  • Fixed: New WordPress installations (4.3 and up) don’t have the option to turn off smileys. Those before now have incorrect character encoding of smiley abbreviations, like 🙂 and :D, when emojis are disabled. So, when you disable emojis, smilies will also be disabled.
  • Improved: When disabling emojis, the smilies setting will also be disabled to reflect the workings of this plugin visually.

1.0.4

  • This plugin now supports PHP 5.2 and up.

1.0.3

  • Now correctly removes scripts from admin pages.

1.0.2

  • Fixed option call priority.

1.0.1

  • Fixed HTML on the options page.
  • Added filter the_emoji_options.

1.0.0

  • 最初のリリース