mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
91ef1974d8
commit
4c94132656
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user