Don't run if installing, fixes $4772

git-svn-id: https://develop.svn.wordpress.org/trunk@5900 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2007-08-19 04:27:04 +00:00
parent df22fd9a58
commit 76384e93f0
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();