Support » Plugins and Hacks » GD Star Rating » GD Star Rating – AJAX XSS Error
4 years, 2 months ago
since a few days my GD Star Rating not work anymore.
When someone click on the stars to rate, only the “please wait…” spinner was displayed and no more, the vote will not saved.
I’ve found this Ajax Request in the console log:
it responds only “xss_error”, but why?
I think this is the error, but why it responds “xss_error”, a few days ago it has worked fine.
I think that “$types” declared on top of ajax.php file is not a good idea because it’s too mainstream.
Maybe a plugin or a WP behavior, sometimes, overwrites it.
No worry about security, your link is fine (check the changelog for 1.9.10 ;p
So my advice goees to @gdragon : can you just rename “$types” ? Like “$gd_allowed_types” ?
Thanks n see you
great, thats it I’ve renamed the $types var and now it works fine.
Like i thought 😉
3 years, 7 months ago
Thank Julio, I fixed my site as your suggestion!