Use WP_PLUGIN_DIR. Props bigsmoke, wojtek.szkutnik. fixes #14070 for 3.1

git-svn-id: http://svn.automattic.com/wordpress/trunk@15346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-06-29 13:52:56 +00:00
parent 91ef1974d8
commit 4c94132656

View File

@ -152,7 +152,7 @@ if ( isset($plugin_page) ) {
if ( file_exists(WPMU_PLUGIN_DIR . "/$plugin_page") ) if ( file_exists(WPMU_PLUGIN_DIR . "/$plugin_page") )
include(WPMU_PLUGIN_DIR . "/$plugin_page"); include(WPMU_PLUGIN_DIR . "/$plugin_page");
else else
include(ABSPATH . PLUGINDIR . "/$plugin_page"); include(WP_PLUGIN_DIR . "/$plugin_page");
} }
include(ABSPATH . 'wp-admin/admin-footer.php'); include(ABSPATH . 'wp-admin/admin-footer.php');