Make WordPress Core

Changeset 840


Ignore:
Timestamp:
02/06/2004 06:04:35 PM (21 years ago)
Author:
saxmatt
Message:

Comment author link should not strip tildes or plus signs.

File:
1 edited

Legend:

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

    r838 r840  
    107107
    108108    $url = str_replace('http://url', '', $url);
    109     $url = preg_replace('|[^a-z0-9-_.?#=&;,/:]|i', '', $url);
     109    $url = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $url);
    110110    if (empty($url) && empty($email)) {
    111111        echo $author;
Note: See TracChangeset for help on using the changeset viewer.