WordPress.org

Ready to get started?Download WordPress

Forums

WP-PostRatings
[resolved] wp-postratings does not work with force_ssl_admin enabled (3 posts)

  1. TheBeardedOne
    Member
    Posted 2 years ago #

    We have found that WP-Postratings does not work with force_ssl_admin enabled, since it trying to post to /wp-admin/admin-ajax.php?action=postratings&pid=000000&rate=2&postratings_00000_nonce=<hex_code>&_=<unix_timestamp> over HTTPS.

    We have not found a workaround for this, and disabling SSL in not an acceptable option.

    http://wordpress.org/extend/plugins/wp-postratings/

  2. TheBeardedOne
    Member
    Posted 2 years ago #

    Our developer found a workaround by modifying the code:

    added line 9 in file postratings-js.js
    ratingsL10n.ajax_url=ratingsL10n.ajax_url.replace("https://","http://");

    to keep the plugin working when forcing logged in user in https admin.

  3. Lester Chan
    Member
    Plugin Author

    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic