Add @global annotations for wp-admin/*.

See #32444.


git-svn-id: https://develop.svn.wordpress.org/trunk@32642 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2015-05-28 21:40:27 +00:00
parent 5f8df2290f
commit 23ce2efd12
61 changed files with 703 additions and 37 deletions

View File

@@ -12,6 +12,8 @@ class WP_Importer {
/**
* Returns array with imported permalinks from WordPress database
*
* @global wpdb $wpdb
*
* @param string $bid
* @return array
*/
@@ -49,6 +51,8 @@ class WP_Importer {
/**
* Return count of imported permalinks from WordPress database
*
* @global wpdb $wpdb
*
* @param string $bid
* @return int
*/
@@ -75,6 +79,8 @@ class WP_Importer {
/**
* Set array with imported comments from WordPress database
*
* @global wpdb $wpdb
*
* @param string $bid
* @return array
*/
@@ -231,7 +237,8 @@ class WP_Importer {
/**
* Reset global variables that grow out of control during imports
*
* @return void
* @global wpdb $wpdb
* @global array $wp_actions
*/
public function stop_the_insanity() {
global $wpdb, $wp_actions;