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:
parent
df22fd9a58
commit
76384e93f0
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user