Commit 207eb98b77 for wordpress.org
commit 207eb98b7741c933e37498f608ea35c57e362b7d
Author: Sergey Biryukov <sergeybiryukov.ru@gmail.com>
Date: Fri Jan 23 23:18:33 2026 +0000
Docs: Mark `$delta` parameter as optional in `_wp_ajax_delete_comment_response()`.
Follow-up to [61508].
See #64224.
Built from https://develop.svn.wordpress.org/trunk@61522
git-svn-id: http://core.svn.wordpress.org/trunk@60833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-admin/includes/ajax-actions.php b/wp-admin/includes/ajax-actions.php
index 9850d0543c..e79642dc0b 100644
--- a/wp-admin/includes/ajax-actions.php
+++ b/wp-admin/includes/ajax-actions.php
@@ -455,7 +455,7 @@ function wp_ajax_logged_in() {
* @access private
*
* @param int $comment_id Comment ID.
- * @param int $delta Change in the number of total comments. Default -1.
+ * @param int $delta Optional. Change in the number of total comments. Default -1.
*/
function _wp_ajax_delete_comment_response( $comment_id, $delta = -1 ) {
$total = isset( $_POST['_total'] ) ? (int) $_POST['_total'] : 0;
diff --git a/wp-includes/version.php b/wp-includes/version.php
index a89d9831fe..4a42dab7d8 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.0-alpha-61521';
+$wp_version = '7.0-alpha-61522';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.