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
This commit is contained in:
Drew Jaynes 2016-07-09 13:23:30 +00:00
parent c009abcc98
commit 2ee0027bc1
3 changed files with 13 additions and 2 deletions

View File

@ -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" );

View File

@ -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
*/

View File

@ -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.