Fixed
Project:
Drupal core
Version:
main
Component:
ajax system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Sep 2026 at 00:37 UTC
Updated:
18 Sep 2026 at 06:24 UTC
Jump to comment: Most recent
The work to remove the deprecate code in ajax.js did not get completed in time for removal in Drupal 12. So, change the removal to Drupal 13.
#3352549: Remove deprecations in ajax.js
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
quietone commentedComment #3
shahul hameed commentedI checked the current `main` branch and the deprecation notices in `core/misc/ajax.js` already state that the code is removed in Drupal 12.0.0.
I also checked the issue fork branch `3623168-update-deprecation-notices`; it currently has no changes compared with `main`.
Could you clarify what additional change is still required for this issue, or whether this issue is intended to track/release the change already made?
Comment #4
quietone commented@shahul hameed, thanks, I have corrected the issue summary
Comment #6
abenbowI have reviewed the MR that @shahul made and it appears to satisfy the requirements of this issue. Given that this is essentially a documentation change, I don't see a high risk for merging it.
There is a failing job on the MR in the Nightwatch test suite, but it doesn't appear related to his work.
https://git.drupalcode.org/issue/drupal-3623168/-/jobs/12262526
Comment #10
quietone commentedCommitted and pushed 6b3b3693741 to main and 464824e16b9 to 11.x and 938f02a4f04 to 11.4.x.
Thanks!
Comment #12
shahul hameed commented@quietone Tested the proposed change in `core/misc/ajax.js`.
The deprecation notices now reference Drupal 13 for removal.
Pipeline results:
* JavaScript linting: passed
* PHP coding standards: passed
* PHPStan: passed
* PHPUnit Kernel: passed
* PHPUnit Functional: passed
* PHPUnit Functional JavaScript: passed
* Nightwatch: failed in `Tests/jQueryUIPositionShimTest` with 2 assertions failing and 1,251 passing. The failure is in the jQuery UI position shim test and is unrelated to the `ajax.js` deprecation notice change.
Tugboat preview also completed successfully.
Comment #13
shahul hameed commentedRestoring the issue status to Fixed. My previous testing comment accidentally changed the status from Fixed to Active.
Comment #15
quietone commented@shahul hameed, thanks for following up. For Drupal core, there is no need to provide a details of the passed tests because we can see them by following the link to the test results that are in the Issue Fork section of the Issue Summary. In this case, it is red because of the Nightwatch test failure. And I checked the test results before pushing this change, so I knew it was Nightwatch. Also, this is a doc only change and it should only cause linting failures.
Cheers