Remove more stripslashes().

git-svn-id: https://develop.svn.wordpress.org/trunk@1406 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2004-06-11 08:11:49 +00:00
parent a5a67ec795
commit e5e50fe714

View File

@ -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;