WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/19/2010 07:48:22 AM (9 years ago)
Author:
nacin
Message:

Pinking shears.

File:
1 edited

Legend:

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

    r15765 r15843  
    343343    if ( !$redirect_url || $redirect_url == $requested_url )
    344344        return false;
    345        
    346     // Hex encoded octets are case-insensitive. 
     345   
     346    // Hex encoded octets are case-insensitive.
    347347    if ( false !== strpos($requested_url, '%') ) {
    348348        if ( !function_exists('lowercase_octets') ) {
    349             function lowercase_octets($matches) { 
    350                 return strtolower( $matches[0] ); 
    351             } 
     349            function lowercase_octets($matches) {
     350                return strtolower( $matches[0] );
     351            }
    352352        }
    353353        $requested_url = preg_replace_callback('|%[a-fA-F0-9][a-fA-F0-9]|', 'lowercase_octets', $requested_url);
Note: See TracChangeset for help on using the changeset viewer.