Correct references of @uses $wpdb in core documentation to use @global.
See #30191, [30105]. Fixes #30217. Built from https://develop.svn.wordpress.org/trunk@30122 git-svn-id: http://core.svn.wordpress.org/trunk@30122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1087,7 +1087,7 @@ function cache_javascript_headers() {
|
||||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @global wpdb $wpdb WordPress database access abstraction object.
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @return int Number of database queries.
|
||||
*/
|
||||
@@ -1253,7 +1253,7 @@ function do_robots() {
|
||||
*
|
||||
* @since 2.1.0
|
||||
*
|
||||
* @global wpdb $wpdb WordPress database access abstraction object.
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @return bool Whether the blog is already installed.
|
||||
*/
|
||||
@@ -3238,7 +3238,7 @@ function wp_ob_end_flush_all() {
|
||||
*
|
||||
* @since 2.3.2
|
||||
*
|
||||
* @global wpdb $wpdb WordPress database access abstraction object.
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*/
|
||||
function dead_db() {
|
||||
global $wpdb;
|
||||
|
||||
Reference in New Issue
Block a user