From 4653f8bcfaa4fdcb84a5f49a779744547c8a4189 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 20 Jul 2017 13:47:43 +0000 Subject: [PATCH] Docs: Add a `@global` entry for `$wp_filesystem` in `wp_ajax_install_theme()`, `wp_ajax_update_theme()`, `wp_ajax_delete_theme()`, `wp_ajax_install_plugin()`, `wp_ajax_update_plugin()`, and `wp_ajax_delete_plugin()`. Props ronakganatra. Fixes #41382. Built from https://develop.svn.wordpress.org/trunk@41110 git-svn-id: http://core.svn.wordpress.org/trunk@40950 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/ajax-actions.php | 12 ++++++++++++ wp-includes/version.php | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/wp-admin/includes/ajax-actions.php b/wp-admin/includes/ajax-actions.php index e132ac8101..0008ed1843 100644 --- a/wp-admin/includes/ajax-actions.php +++ b/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' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 2f66986118..3548e94db8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41109'; +$wp_version = '4.9-alpha-41110'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.