diff --git a/src/wp-admin/includes/ajax-actions.php b/src/wp-admin/includes/ajax-actions.php index e132ac8101..0008ed1843 100644 --- a/src/wp-admin/includes/ajax-actions.php +++ b/src/wp-admin/includes/ajax-actions.php @@ -3358,6 +3358,8 @@ function wp_ajax_save_wporg_username() { * @since 4.6.0 * * @see Theme_Upgrader + * + * @global WP_Filesystem_Base $wp_filesystem Subclass */ function wp_ajax_install_theme() { check_ajax_referer( 'updates' ); @@ -3465,6 +3467,8 @@ function wp_ajax_install_theme() { * @since 4.6.0 * * @see Theme_Upgrader + * + * @global WP_Filesystem_Base $wp_filesystem Subclass */ function wp_ajax_update_theme() { check_ajax_referer( 'updates' ); @@ -3550,6 +3554,8 @@ function wp_ajax_update_theme() { * @since 4.6.0 * * @see delete_theme() + * + * @global WP_Filesystem_Base $wp_filesystem Subclass */ function wp_ajax_delete_theme() { check_ajax_referer( 'updates' ); @@ -3618,6 +3624,8 @@ function wp_ajax_delete_theme() { * @since 4.6.0 * * @see Plugin_Upgrader + * + * @global WP_Filesystem_Base $wp_filesystem Subclass */ function wp_ajax_install_plugin() { check_ajax_referer( 'updates' ); @@ -3717,6 +3725,8 @@ function wp_ajax_install_plugin() { * @since 4.2.0 * * @see Plugin_Upgrader + * + * @global WP_Filesystem_Base $wp_filesystem Subclass */ function wp_ajax_update_plugin() { check_ajax_referer( 'updates' ); @@ -3820,6 +3830,8 @@ function wp_ajax_update_plugin() { * @since 4.6.0 * * @see delete_plugins() + * + * @global WP_Filesystem_Base $wp_filesystem Subclass */ function wp_ajax_delete_plugin() { check_ajax_referer( 'updates' );