mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Declare $wp_version, $required_php_version, and $required_mysql_version as globals in install and upgrade admin files.
See #30799. git-svn-id: https://develop.svn.wordpress.org/trunk@31124 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -159,6 +159,8 @@ if ( is_blog_installed() ) {
|
||||
die( '<h1>' . __( 'Already Installed' ) . '</h1><p>' . __( 'You appear to have already installed WordPress. To reinstall please clear your old database tables first.' ) . '</p><p class="step"><a href="../wp-login.php" class="button button-large">' . __( 'Log In' ) . '</a></p></body></html>' );
|
||||
}
|
||||
|
||||
global $wp_version, $required_php_version, $required_mysql_version;
|
||||
|
||||
$php_version = phpversion();
|
||||
$mysql_version = $wpdb->db_version();
|
||||
$php_compat = version_compare( $php_version, $required_php_version, '>=' );
|
||||
|
||||
Reference in New Issue
Block a user