Issue #3303557 by benjifisher, Binoli Lalani, quietone, catch, Tom Konda,...
Issue #3303557 by benjifisher, Binoli Lalani, quietone, catch, Tom Konda, smustgrave, nod_: Deprecate and remove the AJAX replace method
(cherry picked from commit b68ac6a5)