WordPress.org

Make WordPress Core

Changeset 1406


Ignore:
Timestamp:
06/11/2004 08:11:49 AM (14 years ago)
Author:
rboren
Message:

Remove more stripslashes().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/template-functions-post.php

    r1405 r1406  
    4949function get_the_title() {
    5050    global $post;
    51     $output = stripslashes($post->post_title);
     51    $output = $post->post_title;
    5252    if (!empty($post->post_password)) { // if there's a password
    5353        $output = 'Protected: ' . $output;
     
    189189    // If we haven't got an excerpt, make one in the style of the rss ones
    190190    if (($output == '') && $fakeit) {
    191         $output = stripslashes($post->post_content);
     191        $output = $post->post_content;
    192192        $output = strip_tags($output);
    193193        $blah = explode(' ', $output);
Note: See TracChangeset for help on using the changeset viewer.