Changeset 1984

Show
Ignore:
Timestamp:
12/20/04 06:35:54 (4 years ago)
Author:
rboren
Message:

Remove percent signs from slugs. PAtch from MooKitty. Bug 569.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/functions-formatting.php

    r1980 r1984  
    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);