When deploying a TLS enabled website, you must ensure that all content loaded on the site is loaded from secure origin.
If your content is loaded from an insecure source, the security of your whole site is compromised and modern browsers
will downgrade your website's security rating.
The HTTPS Mixed Content Detector plugin attempts to identify sources of mixed content warnings. The plugin will examine
content loaded from the site when admins are viewing the site. Any content that violates the policy of loading content
that originates from "https:" resources will trigger an error and that resource will be logged. Viewing the log will
allow you to examine the site for any warnings and remove them before they cause problems for your website.
安装:
This section describes how to install the plugin and get it working.
Upload https-mixed-content-detector to the /wp-content/plugins/ directory
Activate the plugin through the 'Plugins' menu in WordPress
Browse your site as an admin
View the reports listed in the "Content Security Policy Reports" page in the admin
Delete each violation report log as you fix it
Rinse and repeat until your site is free of violation reports
屏幕截图:
升级注意事项:
1.2.0
Add violation locations, sampling mode and more WP list table information
1.1.0
Adds HTTPS domain checking, WP CLI commands and more specific CSP directives
1.0.2
Remove false positives from the log
1.0.1
Limit logging to work only for admins
1.0.0
Initial release
更新日志:
1.2.0
Add check for violation locations
Add sampling mode for examining non-logged in traffic
Add more content shown in the WP list table
1.1.0
Add check for HTTPS domain when logging violation
Add list, resolve, remove and unresolve WP CLI commands