Make WordPress Core

Ticket #46653: 46653.patch

File 46653.patch, 925 bytes (added by mukesh27, 6 years ago)

Updated patch as $wp_db_version is int value not string

  • src/wp-settings.php

     
    3131// Make sure we register the shutdown handler for fatal errors as soon as possible.
    3232wp_register_fatal_error_handler();
    3333
    34 /*
     34/**
    3535 * These can't be directly globalized in version.php. When updating,
    3636 * we're including version.php from another installation and don't want
    3737 * these values to be overridden if already set.
     38 *
     39 * @global string $wp_version
     40 * @global int    $wp_db_version
     41 * @global string $tinymce_version
     42 * @global string $required_php_version
     43 * @global string $required_mysql_version
     44 * @global string $wp_local_package
    3845 */
    3946global $wp_version, $wp_db_version, $tinymce_version, $required_php_version, $required_mysql_version, $wp_local_package;
    4047require( ABSPATH . WPINC . '/version.php' );