mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 04:34:31 +00:00
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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user