Make WordPress Core


Ignore:
Timestamp:
10/04/2006 02:21:27 AM (19 years ago)
Author:
ryan
Message:

Smiley parsing fixes from Nazgul. fixes #2444 #1279

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/formatting.php

    r4184 r4283  
    614614            $content = $textarr[$i];
    615615            if ((strlen($content) > 0) && ('<' != $content{0})) { // If it's not a tag
    616                 $content = str_replace($wp_smiliessearch, $wp_smiliesreplace, $content);
     616                $content = preg_replace($wp_smiliessearch, $wp_smiliesreplace, $content);
    617617            }
    618618            $output .= $content;
Note: See TracChangeset for help on using the changeset viewer.