Make WordPress Core

Ticket #51439: 51439-install.php.2.patch

File 51439-install.php.2.patch, 759 bytes (added by ravipatel, 4 years ago)

Added with full path for undefined varibale

  • src/wp-admin/install.php

     
    222222}
    223223
    224224/**
     225 * @global wpdb   $wpdb                   WordPress database abstraction object.
    225226 * @global string $wp_version             The WordPress version string.
    226227 * @global string $required_php_version   The required PHP version string.
    227228 * @global string $required_mysql_version The required MySQL version string.
    228229 */
    229 global $wp_version, $required_php_version, $required_mysql_version;
     230global $wp_version, $wpdb, $required_php_version, $required_mysql_version;
    230231
    231232$php_version   = phpversion();
    232233$mysql_version = $wpdb->db_version();