cannot load plugin
|Reported by:||mrwizard||Owned by:||anonymous|
---> Using WP v2.2.1 the newest build as of 7/20/2007
Some plugins use wp-admin/options.php to update their parameter settings.
Paths to the plugin folder get changed via a urlencode function in this file. So a plugin options file located at...
gets changed to...
and the admin.php file errors this out with a message...
CANNOT LOAD pluginName2Fplugin-options.php
The problem is in the wp-admin/options.php file around about line 112.
$goback = preg_replace('|[a-z0-9-~+_.?#=&;,/:]|i', , $goback);
needs to be changed to...
$goback = preg_replace('|[a-z0-9-~+_.?#=&;,/:%]|i', , $goback);
(note the addition of the % symbol)
This change keeps the %2F in the path instead of just 2F.
Perhaps there's another way.... but this worked for me. If you guys know a better way, please let me know.