mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +00:00
Use WP_PLUGIN_DIR. Props bigsmoke, wojtek.szkutnik. fixes #14070 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15346 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -152,7 +152,7 @@ if ( isset($plugin_page) ) {
|
||||
if ( file_exists(WPMU_PLUGIN_DIR . "/$plugin_page") )
|
||||
include(WPMU_PLUGIN_DIR . "/$plugin_page");
|
||||
else
|
||||
include(ABSPATH . PLUGINDIR . "/$plugin_page");
|
||||
include(WP_PLUGIN_DIR . "/$plugin_page");
|
||||
}
|
||||
|
||||
include(ABSPATH . 'wp-admin/admin-footer.php');
|
||||
|
||||
Reference in New Issue
Block a user