Changeset 3382 for trunk/wp-includes/vars.php
- Timestamp:
- 12/29/2005 11:11:26 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/vars.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/vars.php
r3319 r3382 2 2 3 3 // On which page are we ? 4 $PHP_SELF = $_SERVER['PHP_SELF'];5 if ( empty($PHP_SELF) )6 $_SERVER['PHP_SELF'] = $PHP_SELF = preg_replace("/(\?.*)?$/",'',$_SERVER["REQUEST_URI"]);7 8 4 if (preg_match('#([^/]+.php)#', $PHP_SELF, $self_matches)) { 9 5 $pagenow = $self_matches[1];
Note: See TracChangeset
for help on using the changeset viewer.