wp_check_mysql_version

The timeline below displays how wordpress function wp_check_mysql_version has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 5.3

/**
 * Checks the version of the installed MySQL binary.
 *
 * @since 2.1.0
 *
 * @global wpdb $wpdb WordPress database abstraction object.
 */
function wp_check_mysql_version()
{
    global $wpdb;
    $result = $wpdb->check_database_version();
    if (is_wp_error($result)) {
        wp_die($result);
    }
}

WordPress Version: 5.2

/**
 * Checks the version of the installed MySQL binary.
 *
 * @since 2.1.0
 *
 * @global wpdb  $wpdb
 */
function wp_check_mysql_version()
{
    global $wpdb;
    $result = $wpdb->check_database_version();
    if (is_wp_error($result)) {
        wp_die($result);
    }
}

WordPress Version: 4.3

/**
 * Checks the version of the installed MySQL binary.
 *
 * @since 2.1.0
 *
 * @global wpdb  $wpdb
 */
function wp_check_mysql_version()
{
    global $wpdb;
    $result = $wpdb->check_database_version();
    if (is_wp_error($result)) {
        die($result->get_error_message());
    }
}

WordPress Version: 4.2

/**
 * Checks the version of the installed MySQL binary.
 *
 * @since 2.1.0
 */
function wp_check_mysql_version()
{
    global $wpdb;
    $result = $wpdb->check_database_version();
    if (is_wp_error($result)) {
        die($result->get_error_message());
    }
}

WordPress Version: 3.7

/**
 * {@internal Missing Short Description}}
 *
 * {@internal Missing Long Description}}
 *
 * @since 2.1.0
 */
function wp_check_mysql_version()
{
    global $wpdb;
    $result = $wpdb->check_database_version();
    if (is_wp_error($result)) {
        die($result->get_error_message());
    }
}