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
This commit is contained in:
Drew Jaynes 2018-12-19 17:00:50 +00:00
parent f05077e0b1
commit 5b19e65c3b
2 changed files with 4 additions and 2 deletions

View File

@ -800,9 +800,11 @@ function wp_ajax_untrash_post( $action ) {
} }
/** /**
* Ajax handler to delete a page.
*
* @since 3.1.0 * @since 3.1.0
* *
* @param string $action * @param string $action Action to perform.
*/ */
function wp_ajax_delete_page( $action ) { function wp_ajax_delete_page( $action ) {
if ( empty( $action ) ) { if ( empty( $action ) ) {

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.