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

See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@35170 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes
2015-10-14 23:43:10 +00:00
parent 68a3c0cc73
commit 0cb7c0bd9f
40 changed files with 140 additions and 140 deletions

View File

@@ -18,7 +18,7 @@
*
* @since 1.5.0
*
* @global wpdb $wpdb
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param string $option Name of option to retrieve. Expected to not be SQL-escaped.
* @param mixed $default Optional. Default value to return if the option does not exist.
@@ -164,7 +164,7 @@ function form_option( $option ) {
*
* @since 2.2.0
*
* @global wpdb $wpdb
* @global wpdb $wpdb WordPress database abstraction object.
*
* @return array List of all options.
*/
@@ -197,7 +197,7 @@ function wp_load_alloptions() {
*
* @since 3.0.0
*
* @global wpdb $wpdb
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param int $site_id Optional site ID for which to query the options. Defaults to the current site.
*/
@@ -237,7 +237,7 @@ function wp_load_core_site_options( $site_id = null ) {
* @since 1.0.0
* @since 4.2.0 The `$autoload` parameter was added.
*
* @global wpdb $wpdb
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param string $option Option name. Expected to not be SQL-escaped.
* @param mixed $value Option value. Must be serializable if non-scalar. Expected to not be SQL-escaped.
@@ -383,7 +383,7 @@ function update_option( $option, $value, $autoload = null ) {
*
* @since 1.0.0
*
* @global wpdb $wpdb
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param string $option Name of option to add. Expected to not be SQL-escaped.
* @param mixed $value Optional. Option value. Must be serializable if non-scalar. Expected to not be SQL-escaped.
@@ -480,7 +480,7 @@ function add_option( $option, $value = '', $deprecated = '', $autoload = 'yes' )
*
* @since 1.2.0
*
* @global wpdb $wpdb
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param string $option Name of option to remove. Expected to not be SQL-escaped.
* @return bool True, if option is successfully deleted. False on failure.