Skip to content

Commit ba7209c

Browse files
Docs: Add parameter descriptions for _wp_ajax_delete_comment_response().
Follow-up to [10204], [32652]. Props rejaulalomkhan, huzaifaalmesbah. See #64224. git-svn-id: https://develop.svn.wordpress.org/trunk@61508 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 8a5274e commit ba7209c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/wp-admin/includes/ajax-actions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,8 +454,8 @@ function wp_ajax_logged_in() {
454454
* @since 2.7.0
455455
* @access private
456456
*
457-
* @param int $comment_id
458-
* @param int $delta
457+
* @param int $comment_id Comment ID.
458+
* @param int $delta Change in the number of total comments. Default -1.
459459
*/
460460
function _wp_ajax_delete_comment_response( $comment_id, $delta = -1 ) {
461461
$total = isset( $_POST['_total'] ) ? (int) $_POST['_total'] : 0;

0 commit comments

Comments
 (0)