fix for #317: part two, avoid including the same plugin file twice
git-svn-id: https://develop.svn.wordpress.org/trunk@1712 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
636c018384
commit
a1ac2bfa35
@ -78,7 +78,7 @@ if ( get_settings('active_plugins') ) {
|
||||
$current_plugins = get_settings('active_plugins');
|
||||
foreach ($current_plugins as $plugin) {
|
||||
if ('' != $plugin && file_exists(ABSPATH . 'wp-content/plugins/' . $plugin))
|
||||
include(ABSPATH . 'wp-content/plugins/' . $plugin);
|
||||
include_once(ABSPATH . 'wp-content/plugins/' . $plugin);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user