Make WordPress Core


Ignore:
Timestamp:
08/04/2019 01:11:01 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing description for $wpdb, $wp_db_version, and $wp_current_db_version globals.

Props mukesh27, utsav72640, immeet94, SergeyBiryukov.
See #45604.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/schema.php

    r44976 r45734  
    1212 * Declare these as global in case schema.php is included from a function.
    1313 *
    14  * @global wpdb   $wpdb
     14 * @global wpdb   $wpdb            WordPress database abstraction object.
    1515 * @global array  $wp_queries
    1616 * @global string $charset_collate
     
    359359 * @since 5.1.0 The $options parameter has been added.
    360360 *
    361  * @global wpdb $wpdb WordPress database abstraction object.
    362  * @global int  $wp_db_version
    363  * @global int  $wp_current_db_version
     361 * @global wpdb $wpdb                  WordPress database abstraction object.
     362 * @global int  $wp_db_version         WordPress database version.
     363 * @global int  $wp_current_db_version The old (current) database version.
    364364 *
    365365 * @param array $options Optional. Custom option $key => $value pairs to use. Default empty array.
Note: See TracChangeset for help on using the changeset viewer.