Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify xhr deprecation message. Don't support kwargs.
Prevent hitting integration tests users with two deprecation warnings by clarifying how they should upgrade to the request helpers `get` and friends. It's hard to imagine people having `xhr` calls that use keywords, why not follow the xhr deprecation message? Why instead insert a middle layer of migration? They have to switch to something else anyway, so just show how that looks and nudge them a bit more. The code was originally added in #18323, but then wasn't touched when deprecating xhr in #18771.
- Loading branch information
Showing
2 changed files
with
7 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters