Correct PHP_SELF

Fixes incorrect PHP_SELF server variable.

Author:Sergey Biryukov (profile at wordpress.org)
WordPress version required:1.5
WordPress version tested:3.3.2
Plugin version:0.1
Added to WordPress repository:29-01-2010
Last updated:15-09-2011
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:1 216
plugin download
Click to start download

On some servers $_SERVER['PHP_SELF'] contains /example.com/index.php instead of just /index.php. This one-line plugin restores the correct value. You only need it if you have problems with some other plugins and/or URLs like http://example.com/example.com/wp-admin/ in your admin screens.


ChangeLog