From 2ee0027bc1bfcc4346eb3db0015e26da3dfb7877 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sat, 9 Jul 2016 13:23:30 +0000 Subject: [PATCH] Docs: Improve usefulness of DocBlocks for ajax-actions.php functions introduced in 4.6. See #37318. Built from https://develop.svn.wordpress.org/trunk@38022 git-svn-id: http://core.svn.wordpress.org/trunk@37963 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-footer.php | 1 + wp-admin/includes/ajax-actions.php | 12 +++++++++++- wp-includes/version.php | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/wp-admin/admin-footer.php b/wp-admin/admin-footer.php index 0d0174d1da..f32ce07eaa 100644 --- a/wp-admin/admin-footer.php +++ b/wp-admin/admin-footer.php @@ -80,6 +80,7 @@ do_action( 'admin_footer', '' ); * @since 4.6.0 * * @global string $hook_suffix + * * @param string $hook_suffix The current admin page. */ do_action( "admin_print_footer_scripts-$hook_suffix" ); diff --git a/wp-admin/includes/ajax-actions.php b/wp-admin/includes/ajax-actions.php index e5b3262bd5..e986785c9e 100644 --- a/wp-admin/includes/ajax-actions.php +++ b/wp-admin/includes/ajax-actions.php @@ -3281,6 +3281,8 @@ function wp_ajax_save_wporg_username() { * AJAX handler for installing a theme. * * @since 4.6.0 + * + * @see Theme_Upgrader */ function wp_ajax_install_theme() { check_ajax_referer( 'updates' ); @@ -3456,6 +3458,8 @@ function wp_ajax_update_theme() { * AJAX handler for deleting a theme. * * @since 4.6.0 + * + * @see delete_theme() */ function wp_ajax_delete_theme() { check_ajax_referer( 'updates' ); @@ -3521,6 +3525,8 @@ function wp_ajax_delete_theme() { * AJAX handler for installing a plugin. * * @since 4.6.0 + * + * @see Plugin_Upgrader */ function wp_ajax_install_plugin() { check_ajax_referer( 'updates' ); @@ -3707,6 +3713,8 @@ function wp_ajax_update_plugin() { * AJAX handler for deleting a plugin. * * @since 4.6.0 + * + * @see delete_plugins() */ function wp_ajax_delete_plugin() { check_ajax_referer( 'updates' ); @@ -3846,7 +3854,9 @@ function wp_ajax_search_install_plugins() { } /** - * Ajax handler for testing if an URL exists. Used in the editor. + * AJAX handler for testing if a URL exists. + * + * Used in the editor. * * @since 4.6.0 */ diff --git a/wp-includes/version.php b/wp-includes/version.php index d3f697b8f9..ae42aa5868 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-beta2-38021'; +$wp_version = '4.6-beta2-38022'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.