From 0253c24f9b8c46835be35534936c291cb55f9352 Mon Sep 17 00:00:00 2001 From: rboren Date: Fri, 11 Jun 2004 08:11:49 +0000 Subject: [PATCH] Remove more stripslashes(). git-svn-id: http://svn.automattic.com/wordpress/trunk@1406 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/template-functions-post.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/template-functions-post.php b/wp-includes/template-functions-post.php index 404aabb57..bad88ad77 100644 --- a/wp-includes/template-functions-post.php +++ b/wp-includes/template-functions-post.php @@ -48,7 +48,7 @@ function the_title_rss() { function get_the_title() { global $post; - $output = stripslashes($post->post_title); + $output = $post->post_title; if (!empty($post->post_password)) { // if there's a password $output = 'Protected: ' . $output; } @@ -188,7 +188,7 @@ function get_the_excerpt($fakeit = true) { // If we haven't got an excerpt, make one in the style of the rss ones if (($output == '') && $fakeit) { - $output = stripslashes($post->post_content); + $output = $post->post_content; $output = strip_tags($output); $blah = explode(' ', $output); $excerpt_length = 120;