Ticket #16934: 16934.patch

File 16934.patch, 639 bytes (added by hakre, 2 years ago)

trivial to patch

  • wp-includes/canonical.php

    ### Eclipse Workspace Patch 1.0
    #P wordpress-trunk
     
    5151        if ( false === $original ) 
    5252                return; 
    5353 
    54         // Some PHP setups turn requests for / into /index.php in REQUEST_URI 
    55         // See: http://trac.wordpress.org/ticket/5017 
    56         // See: http://trac.wordpress.org/ticket/7173 
    57         // Disabled, for now: 
    58         // $original['path'] = preg_replace('|/index\.php$|', '/', $original['path']); 
    59  
    6054        $redirect = $original; 
    6155        $redirect_url = false; 
    6256