Ready to get started?Download WordPress


GD Star Rating
GD Star Rating - AJAX XSS Error (5 posts)

  1. PascalBajorat
    Posted 2 years ago #

    Hi there,
    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.


  2. Julio Potier
    Posted 2 years ago #


    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

  3. PascalBajorat
    Posted 2 years ago #

    great, thats it I've renamed the $types var and now it works fine.


  4. Julio Potier
    Posted 2 years ago #

    Like i thought ;)
    Good :)

  5. Tuan Linh
    Posted 1 year ago #

    Thank Julio, I fixed my site as your suggestion!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic