mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 12:44:31 +00:00
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:
@@ -34,7 +34,7 @@ function get_sitestats() {
|
||||
*
|
||||
* @since MU 1.0
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param int $user_id The unique ID of the user
|
||||
* @return object|void The blog object
|
||||
@@ -195,7 +195,7 @@ function add_user_to_blog( $blog_id, $user_id, $role ) {
|
||||
*
|
||||
* @since MU 1.0
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param int $user_id ID of the user you're removing.
|
||||
* @param int $blog_id ID of the blog you're removing the user from.
|
||||
@@ -298,7 +298,7 @@ function get_blog_permalink( $blog_id, $post_id ) {
|
||||
*
|
||||
* @since MU 2.6.5
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param string $domain
|
||||
* @param string $path Optional. Not required for subdomain installations.
|
||||
@@ -398,7 +398,7 @@ function is_email_address_unsafe( $user_email ) {
|
||||
*
|
||||
* @since MU
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param string $user_name The login name provided by the user.
|
||||
* @param string $user_email The email provided by the user.
|
||||
@@ -646,7 +646,7 @@ function wpmu_validate_blog_signup( $blogname, $blog_title, $user = '' ) {
|
||||
*
|
||||
* @since MU
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param string $domain The requested domain.
|
||||
* @param string $path The requested path.
|
||||
@@ -696,7 +696,7 @@ function wpmu_signup_blog( $domain, $path, $title, $user, $user_email, $meta = a
|
||||
*
|
||||
* @since MU
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param string $user The user's requested login name.
|
||||
* @param string $user_email The user's email address.
|
||||
@@ -936,7 +936,7 @@ function wpmu_signup_user_notification( $user, $user_email, $key, $meta = array(
|
||||
*
|
||||
* @since MU
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param string $key The activation key provided to the user.
|
||||
* @return array|WP_Error An array containing information about the activated user and/or blog
|
||||
@@ -1238,7 +1238,7 @@ Disable these notifications: %3$s'), $user->user_login, wp_unslash( $_SERVER['RE
|
||||
*
|
||||
* @since MU
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param string $domain The domain to be checked.
|
||||
* @param string $path The path to be checked.
|
||||
@@ -1271,7 +1271,7 @@ function domain_exists($domain, $path, $site_id = 1) {
|
||||
*
|
||||
* @since MU
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param string $domain The domain of the new site.
|
||||
* @param string $path The path of the new site.
|
||||
@@ -1373,7 +1373,7 @@ function install_blog( $blog_id, $blog_title = '' ) {
|
||||
* @deprecated MU
|
||||
* @deprecated Use wp_install_defaults()
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param int $blog_id Ignored in this function.
|
||||
* @param int $user_id
|
||||
@@ -1598,7 +1598,7 @@ function get_current_site() {
|
||||
*
|
||||
* @since MU
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param int $user_id
|
||||
* @return array Contains the blog_id, post_id, post_date_gmt, and post_gmt_ts
|
||||
@@ -1745,7 +1745,7 @@ function check_upload_mimes( $mimes ) {
|
||||
*
|
||||
* @since MU
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*/
|
||||
function update_posts_count( $deprecated = '' ) {
|
||||
global $wpdb;
|
||||
@@ -1757,7 +1757,7 @@ function update_posts_count( $deprecated = '' ) {
|
||||
*
|
||||
* @since MU
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param int $blog_id
|
||||
* @param int $user_id
|
||||
@@ -1776,7 +1776,7 @@ function wpmu_log_new_registrations( $blog_id, $user_id ) {
|
||||
*
|
||||
* @see term_id_filter
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
* @staticvar int $global_terms_recurse
|
||||
*
|
||||
* @param int $term_id An ID for a term on the current blog.
|
||||
@@ -2055,7 +2055,7 @@ function update_blog_public( $old_value, $value ) {
|
||||
*
|
||||
* @since MU
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param string $key
|
||||
* @param int $user_id Optional. Defaults to current user.
|
||||
@@ -2231,7 +2231,7 @@ function wp_maybe_update_network_user_counts() {
|
||||
*
|
||||
* @since 3.7.0
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*/
|
||||
function wp_update_network_site_counts() {
|
||||
global $wpdb;
|
||||
@@ -2245,7 +2245,7 @@ function wp_update_network_site_counts() {
|
||||
*
|
||||
* @since 3.7.0
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*/
|
||||
function wp_update_network_user_counts() {
|
||||
global $wpdb;
|
||||
@@ -2390,7 +2390,7 @@ function wp_is_large_network( $using = 'sites' ) {
|
||||
*
|
||||
* @since 3.7.0
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param array $args {
|
||||
* Array of default arguments. Optional.
|
||||
|
||||
Reference in New Issue
Block a user