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:
parent
a9e8073b30
commit
9f1a7e4992
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue