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

@@ -2211,7 +2211,7 @@ class WP_Query {
* @since 4.0.0
* @access protected
*
* @global wpdb $wpdb WordPress database access abstraction object.
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param string $orderby Alias for the field to order by.
* @return string|bool Table-prefixed value to used in the ORDER clause. False otherwise.
@@ -4619,8 +4619,9 @@ class WP_Query {
* Attempts to find the current slug from the past slugs.
*
* @since 2.1.0
*
* @uses $wp_query
* @uses $wpdb
* @global wpdb $wpdb WordPress database abstraction object.
*
* @return null If no link is found, null is returned.
*/