I thought I would alert everyone to a recent bug i found in my installation of 1.2.1. Some of the posts in the feed would throw up this error:
Warning: preg_replace() [function.preg-replace]: Empty regular expression in /home/.../public_html/wp-includes/formatting.php on line 647
Thats it. No post content, just the above error.
I was able to "resolve" the issue by just commenting out that line from formatting.php. If any of you are so inclined, the relevant lines of code are:
for ($i = 0; $i < $stop; $i++) {
$content = $textarr[$i];
if ((strlen($content) > 0) && ('<' != $content{0})) { // If it's not a tag
$content = preg_replace($wp_smiliessearch, $wp_smiliesreplace, $content);
}
$output .= $content;
Anyone know why this might be happening?