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:
parent
b4cd7ba224
commit
04558f4424
|
@ -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