Problem/Motivation
In core/misc/ajax.js there are two functions marked as removed from Drupal 10 that still exist.
They are ajaxWrapperMultipleRootElements
& ajaxWrapperNewContent
. In core itself, the only usage of these files are in the ajax.js file & in their associated test.
from catch in the duplicate issue:
They were 'deprecated' in Drupal 8.6.0 before we had a JavaScript deprecation API. We need to actually deprecate them, so they can be removed. Should probably be deprecated in 8.6.0 for removal in 11.0.0 at this point. https://www.drupal.org/node/2940704
Steps to reproduce
Review core/misc/ajax.js and see the deprecations.
Proposed resolution
Bump the deprecation to Drupal 11.
Remaining tasks
User interface changes
API changes
The two functions will be removed or marked to be removed in Drupal 11.