WordPress.org

Make WordPress Core

Ticket #46654: 46654.patch

File 46654.patch, 555 bytes (added by mukesh27, 9 months ago)

Added description for global $wpdb

  • src/wp-settings.php

     
    115115require( ABSPATH . WPINC . '/class-wp-error.php' );
    116116require( ABSPATH . WPINC . '/pomo/mo.php' );
    117117
    118 // Include the wpdb class and, if present, a db.php database drop-in.
     118/**
     119 * Include the wpdb class and, if present, a db.php database drop-in.
     120 *
     121 * @global wpdb $wpdb WordPress database abstraction object.
     122 */
    119123global $wpdb;
    120124require_wp_db();
    121125