diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-06-26 15:40:12 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-06-26 15:40:12 +0000 |
commit | a4383a13a1522aa6b9db861b732249d0a3897140 (patch) | |
tree | f8e3465a0aa68577fb452ca1a1e020cb1ae49571 /wp-includes/vars.php | |
parent | e9274e601b49af6a87b2c79d356910114bbdcfbc (diff) | |
download | wordpress-mu-a4383a13a1522aa6b9db861b732249d0a3897140.tar.gz wordpress-mu-a4383a13a1522aa6b9db861b732249d0a3897140.tar.xz wordpress-mu-a4383a13a1522aa6b9db861b732249d0a3897140.zip |
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@595 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/vars.php')
-rw-r--r-- | wp-includes/vars.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/vars.php b/wp-includes/vars.php index bb1a18b..2573b27 100644 --- a/wp-includes/vars.php +++ b/wp-includes/vars.php @@ -1,7 +1,7 @@ <?php // On which page are we ? -if (preg_match('#([^/]+.php)#', $PHP_SELF, $self_matches)) { +if (preg_match('#([^/]+\.php)$#', $PHP_SELF, $self_matches)) { $pagenow = $self_matches[1]; } else if (strstr($PHP_SELF, '?')) { $pagenow = explode('/', $PHP_SELF); |