Unset once we have included all the plugins to keep things tidy. Fixes #6308 props DD32.

git-svn-id: http://svn.automattic.com/wordpress/trunk@10624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2009-02-22 08:30:12 +00:00
parent a9e8073b30
commit 9f1a7e4992
1 changed files with 4 additions and 3 deletions

View File

@ -474,6 +474,7 @@ if ( get_option('active_plugins') && !defined('WP_INSTALLING') ) {
if ( '' != $plugin && 0 == validate_file($plugin) && file_exists(WP_PLUGIN_DIR . '/' . $plugin) )
include_once(WP_PLUGIN_DIR . '/' . $plugin);
}
unset($plugin);
}
}