mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
fix for #317: part two, avoid including the same plugin file twice
git-svn-id: http://svn.automattic.com/wordpress/trunk@1712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
be1a61f241
commit
5a22f20cab
@ -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…
Reference in New Issue
Block a user