Support » Plugin: Keep Emoticons as Text » Super massive code #irony

  • 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…

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Geek Goddess


    Yes, I mention it’s a single line of code. 🙂 Some people don’t want to edit their functions.php file though, so it’s a quick install. Good point on the code update however. I’ll leave myself a reminder to do that. Thanks!


    @geek-goddess Don’t get me wrong, YOU did AWESOME work, I hate when people try to do simple things with frameworks… (note that I did gave you 5 stars 🙂 )

    I am just unhappy with the fact that somebody kept function in core but removed the “off switch”, even though it is something that alters user’s content.

    Plugin Author Geek Goddess


    Oh, I totally agree! Didn’t think your comment was anything negative towards me at all. I appreciated the suggestion of updating that single line of code. And I agree – I was super unhappy with the fact they left that in core but removed the “off” switch! Unhappy enough that I wrote a plugin. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Super massive code #irony’ is closed to new replies.