diff --git a/includes/Admin/Admin_AJAX.php b/includes/Admin/Admin_AJAX.php index e202b03e1..05362b962 100644 --- a/includes/Admin/Admin_AJAX.php +++ b/includes/Admin/Admin_AJAX.php @@ -145,6 +145,9 @@ public function set_up_environment() { * Handles the AJAX request to cleanup the runtime environment. * * @since 1.0.0 + * + * @global wpdb $wpdb WordPress database abstraction object. + * @global string $table_prefix The database table prefix. */ public function clean_up_environment() { global $wpdb, $table_prefix; diff --git a/includes/Checker/Abstract_Check_Runner.php b/includes/Checker/Abstract_Check_Runner.php index 2d42f6836..025dc108b 100644 --- a/includes/Checker/Abstract_Check_Runner.php +++ b/includes/Checker/Abstract_Check_Runner.php @@ -319,6 +319,9 @@ final public function prepare() { * * @since 1.0.0 * + * @global wpdb $wpdb WordPress database abstraction object. + * @global string $table_prefix The database table prefix. + * * @return Check_Result An object containing all check results. */ final public function run() { diff --git a/includes/Checker/Runtime_Environment_Setup.php b/includes/Checker/Runtime_Environment_Setup.php index ccdc9e5fc..86d1d4e8c 100644 --- a/includes/Checker/Runtime_Environment_Setup.php +++ b/includes/Checker/Runtime_Environment_Setup.php @@ -18,6 +18,10 @@ final class Runtime_Environment_Setup { * Sets up the WordPress environment for runtime checks * * @since 1.0.0 + * + * @global wpdb $wpdb WordPress database abstraction object. + * @global string $table_prefix The database table prefix. + * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass. */ public function set_up() { global $wpdb, $table_prefix, $wp_filesystem; diff --git a/includes/Utilities/Plugin_Request_Utility.php b/includes/Utilities/Plugin_Request_Utility.php index f6e0c11c5..37b1c1868 100644 --- a/includes/Utilities/Plugin_Request_Utility.php +++ b/includes/Utilities/Plugin_Request_Utility.php @@ -187,6 +187,8 @@ public static function get_files_to_ignore() { * * @since 1.1.0 * + * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass. + * * @param string $plugin_url The URL of the plugin to download. * @return string The plugin basename after downloading and installing the plugin. *