In case anyone was wondering…

If you want to disable WordPress smilies, the relevant function is in wp-includes/formatting.php. It’s called convert_smilies.

The smilies were annoying me. So I just commented out most of the function.

If you want to do this, just leave $output = $text; and return $output; and you’ll be fine.

Update: Never mind, the option is in the WP admin! Somehow I had managed to miss it, but Shelby pointed me in the right direction.

2 Responses to "In case anyone was wondering…"

  1. shelbinator says:

    I haven’t upgraded since like 2.04, but on my wp-admin/options-writing.php page there’s a tick-box for Convert emoticons to graphics. Unticked, of course.

  2. Amber says:

    Doh, I see that now. I looked everywhere (or so I thought) in the WP admin and couldn’t find it. Guess that’s the one place I didn’t look! THanks.

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>