Keep Emoticons as Text

Apraksts

As of the release of 4.3, WordPress removed the “Formatting” section from the Writing settings. Included in there was the option to turn off WordPress’s default action to convert text emoticons to image smilies. This plugin does the same thing as unchecking the “convert to smilies” box that used to be available via the settings.

Uzstādīšana

  1. Upload the keep-emoticons-as-text directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

BUJ

Does this add any overhead to WordPress?

No, it’s one line of code. It’s being posted as a plugin for convenience for those who don’t want to edit their theme functions file.

Atsauksmes

27 oktobris, 2022
The actual functioning PHP code is just one line, which is exactly what it needs to be. I went from “How do I turn this off on my client’s site” to Google to an article to installing this plugin to problem completely solved in literally one minute. Thank you for being awesome.
12 aprīlis, 2017 3 atbildes
The super “massive” code of this plugin is, literally, : add_filter( 'option_use_smilies', '__return_false' ); altough for newer PHP 5.3+ I would suggest add_filter('option_use_smilies',function(){ return false; }); I fear the times, when you will have to install separate plugin for every WordPress option…
12 novembris, 2016
spares me unwanted visual clutter – easy and efficient. Thanks a lot.
Lasīt 8 atsauksmes

Autori un izstrādātāji

“Keep Emoticons as Text” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Keep Emoticons as Text&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

1.0.0

  • Initial release