Skip to content

Commit 6100a51

Browse files
Docs: Mark $delta parameter as optional in _wp_ajax_delete_comment_response().
Follow-up to [61508]. See #64224. git-svn-id: https://develop.svn.wordpress.org/trunk@61522 602fd350-edb4-49c9-b593-d223f7449a82
1 parent a5681c4 commit 6100a51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ function wp_ajax_logged_in() {
455455
* @access private
456456
*
457457
* @param int $comment_id Comment ID.
458-
* @param int $delta Change in the number of total comments. Default -1.
458+
* @param int $delta Optional. 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)