From 109eab573d13c5c1fe3e8eb630a9aa817828e182 Mon Sep 17 00:00:00 2001 From: Mike Little Date: Mon, 22 Sep 2003 22:57:41 +0000 Subject: [PATCH] Fixed bug with escaped quotes in the excerpt. http://wordpress.org/support/4/623 git-svn-id: https://develop.svn.wordpress.org/trunk@377 602fd350-edb4-49c9-b593-d223f7449a82 --- b2-include/b2template.functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b2-include/b2template.functions.php b/b2-include/b2template.functions.php index 633646520e..6f3d7c598a 100644 --- a/b2-include/b2template.functions.php +++ b/b2-include/b2template.functions.php @@ -686,7 +686,7 @@ function get_the_excerpt($fakeit = false) { global $id, $post; global $HTTP_SERVER_VARS, $HTTP_COOKIE_VARS, $preview; $output = ''; - $output = $post->post_excerpt; + $output = stripslashes($post->post_excerpt); if (!empty($post->post_password)) { // if there's a password if ($HTTP_COOKIE_VARS['wp-postpass'] != $post->post_password) { // and it doesn't match the cookie $output = "There is no excerpt because this is a protected post.";