mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 06:57:35 +01:00
Use correct var. Props ocean90. fixes #18176
git-svn-id: http://svn.automattic.com/wordpress/trunk@19267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7123026a3b
commit
23d963c967
@ -48,7 +48,7 @@ function list_core_update( $update ) {
|
||||
if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
|
||||
$mysql_compat = true;
|
||||
else
|
||||
$mysql_compat = version_compare( $mysql_version, $required_mysql_version, '>=' );
|
||||
$mysql_compat = version_compare( $mysql_version, $update->mysql_version, '>=' );
|
||||
|
||||
if ( !$mysql_compat && !$php_compat )
|
||||
$message = sprintf( __('You cannot update because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $update->current, $update->php_version, $update->mysql_version, $php_version, $mysql_version );
|
||||
|
Loading…
Reference in New Issue
Block a user