Correct references of @uses $wpdb in core documentation to use @global.

See #30191, [30105].
Fixes #30217.


git-svn-id: https://develop.svn.wordpress.org/trunk@30122 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes (DrewAPicture)
2014-10-31 17:55:39 +00:00
parent 5073448de6
commit 7cd15026bd
18 changed files with 101 additions and 66 deletions

View File

@@ -1484,7 +1484,7 @@ if ( !function_exists('wp_notify_moderator') ) :
*
* @since 1.0.0
*
* @uses $wpdb
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param int $comment_id Comment ID
* @return bool Always returns true
@@ -2064,7 +2064,7 @@ if ( !function_exists('wp_set_password') ) :
*
* @since 2.5.0
*
* @uses $wpdb WordPress database object for queries
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param string $password The plaintext new user password
* @param int $user_id User ID