I've just discovered that I cannot upload images to comments when on desktop. However, it works fine on iPhone when I tried. I have tried on several different computers. I have another site that is also using the latest version of wpdiscuz, and upload works fine on desktop there, so clearly something is wrong with my site. I cannot figure out what.
When I check console on Chrome, I see the following error messages when I try to upload an img on desktop:
jquery.min.js:2
POST https:// www. mysite .com/wp-admin/admin-ajax.php 400 (Bad Request)
send @ jquery.min.js:2
ajax @ jquery.min.js:2
(anonymous) @ jquery-migrate.min.js:2
e.<computed> @ jquery-migrate.min.js:2
_e @ wpdiscuz-combo.min.js:10
(anonymous) @ wpdiscuz-combo.min.js:14
(anonymous) @ wpdiscuz-combo.min.js:14
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2
c @ rocket-loader.min.js:1
wpdiscuz-combo.min.js:14
Any ideas?
I can actually upload img on my staging site I just created.
Hm, it appears it was a local browser cache issue because it works fine after clearing cache. But the problem is other visitors are experiencing the same thing and not everyone will know to clear their cache. Any suggestions?