WordPress.org

Make WordPress Core

Ticket #6995: wp-app.php.diff

File wp-app.php.diff, 498 bytes (added by josephscott, 12 years ago)
  • wp-app.php

     
    113113        function handle_request() {
    114114                global $always_authenticate;
    115115
    116                 $path = $_SERVER['PATH_INFO'];
     116                if( !empty( $_SERVER['ORIG_PATH_INFO'] ) )
     117                        $path = $_SERVER['ORIG_PATH_INFO'];
     118                else
     119                        $path = $_SERVER['PATH_INFO'];
     120
    117121                $method = $_SERVER['REQUEST_METHOD'];
    118122
    119123                log_app('REQUEST',"$method $path\n================");