diff --git a/core/misc/ajax.js b/core/misc/ajax.js
index d75ece1889ebd545675377e14a09af0259b72797..48f8bc83ab79538b45575d9abb18d1cef9c196ef 100644
--- a/core/misc/ajax.js
+++ b/core/misc/ajax.js
@@ -1232,7 +1232,7 @@
    * @param {object} response
    *   The response from the Ajax request.
    *
-   * @deprecated in drupal:8.6.0 and is removed from drupal:10.0.0.
+   * @deprecated in drupal:8.6.0 and is removed from drupal:12.0.0.
    *   Use data with desired wrapper.
    *
    * @see https://www.drupal.org/node/2940704
@@ -1263,7 +1263,7 @@
    * @param {jQuery} $elements
    *   Response elements after parsing.
    *
-   * @deprecated in drupal:8.6.0 and is removed from drupal:10.0.0.
+   * @deprecated in drupal:8.6.0 and is removed from drupal:12.0.0.
    *   Use data with desired wrapper.
    *
    * @see https://www.drupal.org/node/2940704