Disable Emojis

説明

This plugin disables the new WordPress emoji functionality.

Note: Emoticons will still work and emoji’s will still work in browsers which have built in support for them. This plugin simply removes the extra code bloat used to add support for emoji’s in older browsers.

インストール

After you’ve downloaded and extracted the files:

  1. Upload the complete ‘disable-emojis’ folder to the ‘/wp-content/plugins/’ directory OR install via the plugin installer
  2. WordPress の「プラグイン」メニューからプラグインを有効化してください
  3. And yer done!

Visit the Disable Emojis plugin for more information.

FAQ

Installation Instructions

After you’ve downloaded and extracted the files:

  1. Upload the complete ‘disable-emojis’ folder to the ‘/wp-content/plugins/’ directory OR install via the plugin installer
  2. WordPress の「プラグイン」メニューからプラグインを有効化してください
  3. And yer done!

Visit the Disable Emojis plugin for more information.

評価

Works as promised, code looks good

This plugin works as advertised. I used it to prevent double emojis from showing up—unfortunately, when you include an emoji, the WordPress emoji scripts load a second emoji right after it, so you see double emoji, and if your images are displayed block you’ll see the second emoji on a new line.

I also took a look at the plugin’s source code and it looks good—just the bare minimum required to do what it says.

I would highly recommend this plugin if you like to put in your own emojis and aren’t worried about supporting older devices that do not have emojis.

Doesn’t work properly

Although it does remove emoji styles, it still does not remove everything related to emojis.

WordPress still replaces 🙂 with an emoji unicode.
I have read support thread where author says it is as intended, I just have to go to wp-admin/options-writing.php and disable Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics on display', the thing is, my wp 4.9.1 doesn’t have this setting there.

Had to traverse WP sources, found if ( get_site_option( 'initial_db_version' ) < 32453 ) condition there. Ultimately, that hidden piece of code modifies wp_options checked('1', get_option('use_smilies'). After I manually changed option with name use_smilies, wp finally stopped replacing 🙂 with emoji unicode.

That’s WAY too much moves for a person, who has installed and used to trust “Disable Emojis” plugin. If it says “Disable Emojis” it MUST disable emojis. It shouldn’t be my task to dig wp sources for weird hidden options. Could please you do this work?

There is also a filter, something like ‘convert_smilies’, this plugin could probably also disable it to override some behaviour. But automatically changing option ‘use_smilies’ to default 0 would be expected.

94件のレビューをすべて表示

貢献者と開発者

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

貢献者

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

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

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

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

変更履歴

1.7

  • Removed DNS prefetch URL again.
  • This time using simple string check rather than relying on internal WordPress filters.

1.6

  • Removed DNS prefetch URL. Props to Aaron Queen for assisting with this.

1.5.3

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

1.5.2

  • Improved documentation.
  • Removed redundant dns prefetching. Thanks to Milan Dinic for the pull request.

1.5.1

  • Updating documentation.

1.5

  • Catering for invalid $plugin array.

1.4

  • Updating to use Otto’s code.

1.3

Removing extraneous styles.

1.2

Bug fix.

1.1

Updating to work with latest beta.

1.0

最初のリリース。