unset temp vars so they don't pollute the global namespace.

git-svn-id: http://svn.automattic.com/wordpress/trunk@12847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-01-26 18:20:27 +00:00
parent ef301b7489
commit 3ffb57a4f8
1 changed files with 2 additions and 0 deletions

View File

@ -161,6 +161,7 @@ if ( is_multisite() ) {
require_once( $file );
die();
}
unset($file);
ms_network_cookies();
}
@ -248,6 +249,7 @@ $locale = get_locale();
$locale_file = WP_LANG_DIR . "/$locale.php";
if ( is_readable( $locale_file ) )
require_once( $locale_file );
unset($locale_file);
// Pull in locale data after loading text domain.
require_once( ABSPATH . WPINC . '/locale.php' );