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:
michelvaldrighi 2004-09-26 18:12:55 +00:00
parent be1a61f241
commit 5a22f20cab
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}