Make WordPress Core


Ignore:
Timestamp:
02/13/2010 08:29:55 AM (15 years ago)
Author:
dd32
Message:

s/$original/$redirect/ in [13091]. Props miqrogroove. See #8948

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/canonical.php

    r13091 r13099  
    272272
    273273    // Strip multiple slashes out of the URL
    274     if ( strpos($original['path'], '//') > -1 )
     274    if ( strpos($redirect['path'], '//') > -1 )
    275275        $redirect['path'] = preg_replace('|/+|', '/', $redirect['path']);
    276276
Note: See TracChangeset for help on using the changeset viewer.