Use correct var. Props ocean90. fixes #18176
git-svn-id: https://develop.svn.wordpress.org/trunk@19267 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3e06696012
commit
318e44ecd2
@ -48,7 +48,7 @@ function list_core_update( $update ) {
|
|||||||
if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
|
if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
|
||||||
$mysql_compat = true;
|
$mysql_compat = true;
|
||||||
else
|
else
|
||||||
$mysql_compat = version_compare( $mysql_version, $required_mysql_version, '>=' );
|
$mysql_compat = version_compare( $mysql_version, $update->mysql_version, '>=' );
|
||||||
|
|
||||||
if ( !$mysql_compat && !$php_compat )
|
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 );
|
$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