Make WordPress Core

Ticket #569: functions-formatting.diff

File functions-formatting.diff, 848 bytes (added by MC_incubus, 21 years ago)
  • wp-includes/functions-formatting.php

    RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions-formatting.php,v
    retrieving revision 1.52
    diff -u -3 -r1.52 functions-formatting.php
     
    227227
    228228    $title = strtolower($title);
    229229    $title = preg_replace('/&.+?;/', '', $title); // kill entities
    230     $title = preg_replace('/[^%a-z0-9 _-]/', '', $title);
     230    $title = preg_replace('/[^a-z0-9 _-]/', '', $title);
    231231    $title = preg_replace('/\s+/', '-', $title);
    232232    $title = preg_replace('|-+|', '-', $title);
    233233    $title = trim($title, '-');
     
    573573        return $since;
    574574}
    575575
    576 ?>
    577  No newline at end of file
     576?>