Docs: Add a missing DocBlock summary and $action
parameter description for wp_ajax_delete_page()
.
Props abhijitrakas. Fixes #44206. git-svn-id: https://develop.svn.wordpress.org/trunk@44335 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
367a6cba81
commit
cd55551896
@ -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 ) ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user