From 89a4837fc8097dadd1e65495b67bc10e26ccecfd Mon Sep 17 00:00:00 2001 From: mikelittle 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: http://svn.automattic.com/wordpress/trunk@377 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 633646520..6f3d7c598 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.";