sometimes, we are just so stupid that wanna directly dump wordpress plugin into wpmu and wish it could work. Unfortunately, it won’t. And sometimes it looks everything is OK until you press the confirm button, your confirmation page will be leaded to the admin panel. why?
Hey, here is a simple way to twist.
Please remove this one ” $_SERVER[PHP_SELF].”
for example
plugin:
Picasa Plugin for WordPress
please open the page at wp-content/plugins/wp-picasalb/wp-picasalb.php
then do this
comment out
//define('PLB_ADMIN_URL', $_SERVER[PHP_SELF]."options-general.php?page=".basename(PLB_DIR).'/'.PLB_FILE);
And replace it as:
define('PLB_ADMIN_URL', "options-general.php?page=".basename(PLB_DIR).'/'.PLB_FILE);
This entry was posted on Thursday, January 24th, 2008 at 3:27 pm and is filed under 技术::Tech. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.


