WordPress.org

Forums

WP-Polls
[resolved] WP-Polls and SSL/https on wp-admin (2 posts)

  1. the.Zedt
    Member
    Posted 1 year ago #

    Hi.

    I'm using WordPress HTTPS to force SSL encryption on my dashboard.
    Because of this, the polls no longer worked, voting or viewing votes resulting in an "Unable to verify referrer" message.

    After browsing around for a solution, I found out that modifying the plugin (specifically the wp-polls.php file) and changing
    'ajax_url' => admin_url('admin-ajax.php'),
    in the polls-script() function to
    'ajax_url' => admin_url('admin-ajax.php', (is_ssl() ? 'https' : 'http')),
    solves this issue.

    http://wordpress.org/plugins/wp-polls/

  2. Lester Chan
    Member
    Plugin Author

    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic