Don't run if installing, fixes $4772

git-svn-id: http://svn.automattic.com/wordpress/trunk@5900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2007-08-19 04:27:04 +00:00
parent b4cd7ba224
commit 04558f4424
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,9 @@
// A simple set of functions to check our version 1.0 update service
function wp_version_check() {
if ( strpos($_SERVER['PHP_SELF'], 'install.php') !== false || defined('WP_INSTALLING') )
return;
global $wp_version;
$php_version = phpversion();