WordPress.org

Ready to get started?Download WordPress

Forums

Wordfence Security
Warning about certificate (mixed content) (1 post)

  1. Chris
    Member
    Posted 1 year ago #

    When I access my site via http://, I receive a warning that a certificate is not secure (indeed the https is self-signed) - even though there shouldn't be any certificate involved for http.
    The reason seems to be some javascript that gets loaded via https:

    <script type="text/javascript">var src="https://www.example.com/wp-admin/admin-ajax.php?action=wordfence_logHuman&hid=...

    The line

    if(window.location.protocol == "https:"){ src = src.replace("http:", "https:");

    doesn't seem to switch to http, rather the other way around.

    http://wordpress.org/extend/plugins/wordfence/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic