Make WordPress Core

Changeset 8031 for trunk/wp-app.php


Ignore:
Timestamp:
06/02/2008 08:38:39 PM (16 years ago)
Author:
ryan
Message:

Use ORIG_PATH_INFO, if available. Props singpolyma. fixes #6995

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-app.php

    r7991 r8031  
    173173        global $always_authenticate;
    174174
    175         $path = $_SERVER['PATH_INFO'];
     175        if( !empty( $_SERVER['ORIG_PATH_INFO'] ) )
     176            $path = $_SERVER['ORIG_PATH_INFO'];
     177        else
     178            $path = $_SERVER['PATH_INFO'];
     179
    176180        $method = $_SERVER['REQUEST_METHOD'];
    177181
Note: See TracChangeset for help on using the changeset viewer.