You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs don't say that you can use null for data, it's supposed to be an object or string. According to #5139 (comment) and the docs, null is used to omit the callback. The second example omits data without needing to mention it at all. Worth a mention in the upgrade guide though I guess?
The jQuery api describes jQuery.get as: jQuery.get( url [, data ] [, success ] [, dataType ] )].
In jQuery 3.5.7 this code, with null for the data parameter, works:
In jQuery 4.0 this code doesn't work anymore, you have to remove the null parameter:
A small change, but this breaks backward compatibility.
The text was updated successfully, but these errors were encountered: