Add @global annotations for wp-admin/*.

See #32444.

Built from https://develop.svn.wordpress.org/trunk@32642


git-svn-id: http://core.svn.wordpress.org/trunk@32612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor
2015-05-28 21:41:30 +00:00
parent 6ab487dde6
commit b56b9b3e5c
62 changed files with 704 additions and 38 deletions
+8 -1
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;