Make WordPress Core


Ignore:
Timestamp:
05/29/2015 02:05:26 AM (10 years ago)
Author:
wonderboymusic
Message:

Add @global annotations to (the rest of the?) wp-admin/* files.

Does not include list table file changes.

See #32444.

File:
1 edited

Legend:

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

    r32642 r32643  
    99 */
    1010
    11 // Declare these as global in case schema.php is included from a function.
     11/**
     12 * Declare these as global in case schema.php is included from a function.
     13 *
     14 * @global wpdb   $wpdb
     15 * @global array  $wp_queries
     16 * @global string $charset_collate
     17 */
    1218global $wpdb, $wp_queries, $charset_collate;
    1319
    1420/**
    1521 * The database character collate.
    16  * @var string
    17  * @global string
    18  * @name $charset_collate
    1922 */
    2023$charset_collate = $wpdb->get_charset_collate();
     
    2427 *
    2528 * @since 3.3.0
     29 *
     30 * @global wpdb $wpdb
    2631 *
    2732 * @param string $scope Optional. The tables for which to retrieve SQL. Can be all, global, ms_global, or blog tables. Defaults to all.
     
    864869 * @since 3.0.0
    865870 *
     871 * @global wpdb       $wpdb
     872 * @global object     $current_site
     873 * @global int        $wp_db_version
     874 * @global WP_Rewrite $wp_rewrite
     875 *
    866876 * @param int $network_id ID of network to populate.
    867877 * @return bool|WP_Error True on success, or WP_Error on warning (with the install otherwise successful,
Note: See TracChangeset for help on using the changeset viewer.