Unset once we have included all the plugins to keep things tidy. Fixes #6308 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@10624 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
01f92d2f04
commit
fb6a97d14b
|
@ -474,6 +474,7 @@ if ( get_option('active_plugins') && !defined('WP_INSTALLING') ) {
|
||||||
if ( '' != $plugin && 0 == validate_file($plugin) && file_exists(WP_PLUGIN_DIR . '/' . $plugin) )
|
if ( '' != $plugin && 0 == validate_file($plugin) && file_exists(WP_PLUGIN_DIR . '/' . $plugin) )
|
||||||
include_once(WP_PLUGIN_DIR . '/' . $plugin);
|
include_once(WP_PLUGIN_DIR . '/' . $plugin);
|
||||||
}
|
}
|
||||||
|
unset($plugin);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue