From 5b19e65c3b9c7b5e72e4048d4d99dc719d731e0e Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 19 Dec 2018 17:00:50 +0000 Subject: [PATCH] Docs: Add a missing DocBlock summary and `$action` parameter description for `wp_ajax_delete_page()`. Props abhijitrakas. Fixes #44206. Built from https://develop.svn.wordpress.org/trunk@44335 git-svn-id: http://core.svn.wordpress.org/trunk@44165 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/ajax-actions.php | 4 +++- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/ajax-actions.php b/wp-admin/includes/ajax-actions.php index 643fc87576..6526a10667 100644 --- a/wp-admin/includes/ajax-actions.php +++ b/wp-admin/includes/ajax-actions.php @@ -800,9 +800,11 @@ function wp_ajax_untrash_post( $action ) { } /** + * Ajax handler to delete a page. + * * @since 3.1.0 * - * @param string $action + * @param string $action Action to perform. */ function wp_ajax_delete_page( $action ) { if ( empty( $action ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index a6151d01ad..5867885bd3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.1-alpha-44334'; +$wp_version = '5.1-alpha-44335'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.