Docs: Add missing descriptions for the $wpdb global in DocBlocks all the places.
See #32246. Built from https://develop.svn.wordpress.org/trunk@35170 git-svn-id: http://core.svn.wordpress.org/trunk@35136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -47,7 +47,7 @@ function check_upload_size( $file ) {
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param int $blog_id Blog ID.
|
||||
* @param bool $drop True if blog's table should be dropped. Default is false.
|
||||
@@ -177,7 +177,7 @@ function wpmu_delete_blog( $blog_id, $drop = false ) {
|
||||
*
|
||||
* @todo Merge with wp_delete_user() ?
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param int $id The user ID.
|
||||
* @return bool True if the user was deleted, otherwise false.
|
||||
@@ -505,7 +505,7 @@ function upload_space_setting( $id ) {
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param int $id The user ID.
|
||||
* @param string $pref The column in the wp_users table to update the user's status
|
||||
@@ -936,7 +936,7 @@ function revoke_super_admin( $user_id ) {
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param int $site_id The network/site ID to check.
|
||||
* @return bool True if network can be edited, otherwise false.
|
||||
|
||||
Reference in New Issue
Block a user