WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/14/2015 11:43:10 PM (5 years ago)
Author:
DrewAPicture
Message:

Docs: Add missing descriptions for the $wpdb global in DocBlocks all the places.

See #32246.

File:
1 edited

Legend:

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

    r35149 r35170  
    1919 * @since 1.5.0
    2020 *
    21  * @global wpdb $wpdb
     21 * @global wpdb $wpdb WordPress database abstraction object.
    2222 *
    2323 * @param string $option  Name of option to retrieve. Expected to not be SQL-escaped.
     
    165165 * @since 2.2.0
    166166 *
    167  * @global wpdb $wpdb
     167 * @global wpdb $wpdb WordPress database abstraction object.
    168168 *
    169169 * @return array List of all options.
     
    198198 * @since 3.0.0
    199199 *
    200  * @global wpdb $wpdb
     200 * @global wpdb $wpdb WordPress database abstraction object.
    201201 *
    202202 * @param int $site_id Optional site ID for which to query the options. Defaults to the current site.
     
    238238 * @since 4.2.0 The `$autoload` parameter was added.
    239239 *
    240  * @global wpdb $wpdb
     240 * @global wpdb $wpdb WordPress database abstraction object.
    241241 *
    242242 * @param string      $option   Option name. Expected to not be SQL-escaped.
     
    384384 * @since 1.0.0
    385385 *
    386  * @global wpdb $wpdb
     386 * @global wpdb $wpdb WordPress database abstraction object.
    387387 *
    388388 * @param string         $option      Name of option to add. Expected to not be SQL-escaped.
     
    481481 * @since 1.2.0
    482482 *
    483  * @global wpdb $wpdb
     483 * @global wpdb $wpdb WordPress database abstraction object.
    484484 *
    485485 * @param string $option Name of option to remove. Expected to not be SQL-escaped.
Note: See TracChangeset for help on using the changeset viewer.