mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-08 19:20:03 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user