jQuery.ajaxSetup interfering with some requests
-
Hi there,
Someone reached out to us to let us know that our plugin, Wicked Folders, isn’t working when Ultimate Member is also activated.
We looked into it and noticed that on line 128 in
wp-content/plugins/ultimate-member/assets/js/common.js, there is some code that attempts to add aum_current_localeparameter to the data in the request; however, our application uses Backbone which sends the requests as a string of encoded JSON. This code causes our application to break by mangling the JSON string.Would it be possible to modify that code to avoid this issue? Perhaps it could check to see if
settings.datais an object and only extend it if it is?Thanks for your help.
The page I need help with: [log in to see the link]
The topic ‘jQuery.ajaxSetup interfering with some requests’ is closed to new replies.