Açıklama
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.
Çeviri
You can contribute by translating Emoji Settings via the sidebar on this page.
Yükleme
- Install Emoji Settings either via the WordPress.org plugin directory or by uploading the files to your server.
- İsterseniz ağ genelinde etkinleştirin, isterseniz tek bir sitede.
- You can now disable emojis through the admin menu under
wp-admin/options-writing.php
. - Hepsi bu akdar! Keyfini çıkartın!
SSS
-
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; } );
İncelemeler
Katkıda Bulunanlar ve Geliştiriciler
“Emoji ayarları” açık kaynaklı yazılımdır. Aşağıdaki kişiler bu eklentiye katkıda bulunmuşlardır.
Katkıda bulunanlar“Emoji ayarları” 9 dile çevrildi. Katkıda bulundukları için çevirmenlere teşekkürler.
“Emoji ayarları” eklentisini dilinize çevirin.
Geliştirmeyle ilgilenir misiniz?
Kodu görüntüleyin, SVN deposuna göz atın ya da RSS ile geliştirme günlüğüne abone olun.
Değişiklik Kaydı
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
- Not: 1.000 saatten fazla, ekstra PHP yazlım deneyimi ile bu eklentiyi en son WordPress ve PHP kodlama standartlarına göre güncelledim.
- Eklenen: WordPress.org çeviri uyumluluğu.
- Eklenen: Yerel PHP ayar kaşesi.
- Eklenen: Sınıf kaşesi.
- Eklenen: Yeni filtre. “Diğer notlar” kısmına göz atın.
- Eklenen: POT çeviri dosyası.
- Değişen: Eklenti çeviri alan adı.
- Güncellenen: Çeviri dosyaları.
- Improved: The defaults filter is now always cast to an array.
- Geliştirilen: Eklentinin bellek ayak izi küçültüldü.
- Kod temizlendi.
1.0.6
- Düzeltilen: Eski WP yüklemelerinden ayarlar kaydedilirken uyarı çıkıyordu.
- Değiştirilen: Eklenti etkinliği geliştirildi.
- WP 4.4.0 sürümüne kadar test edildi
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
- İlk dağıtım