Make WordPress Core


Ignore:
Timestamp:
06/18/2004 12:22:09 AM (22 years ago)
Author:
rboren
Message:

stripslashes() elimination. Remove extra slashes during upgrade. Bugs 0000059 and 0000018

File:
1 edited

Legend:

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

    r1405 r1435  
    161161    $email = apply_filters('comment_email', $comment->comment_author_email);
    162162    if ((!empty($email)) && ($email != '@')) {
    163     $display = ($linktext != '') ? $linktext : stripslashes($email);
     163    $display = ($linktext != '') ? $linktext : $email;
    164164        echo $before;
    165165        echo "<a href='mailto:$email'>$display</a>";
     
    173173
    174174    if ((!empty($url)) && ($url != 'http://') && ($url != 'http://url')) {
    175     $display = ($linktext != '') ? $linktext : stripslashes($url);
     175    $display = ($linktext != '') ? $linktext : $url;
    176176        echo "$before<a href='$url' rel='external'>$display</a>$after";
    177177    }
Note: See TracChangeset for help on using the changeset viewer.