From e5e50fe714f6260fdd30cc3279b7dfe829e299d5 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 11 Jun 2004 08:11:49 +0000 Subject: [PATCH] Remove more stripslashes(). git-svn-id: https://develop.svn.wordpress.org/trunk@1406 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 404aabb572..bad88ad774 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;