
內容簡介
Insecure Content Warning 外掛幫助內容創作者在安全的 HTTPS 網站上避免瀏覽器顯示不安全內容的警告,透過標記內容編輯器中來自不安全 HTTP 網址的元素,確保發佈的內容不會有安全隱患。
【主要功能】
• 自動標記不安全的內容元素
• 支援經典編輯器與區塊編輯器
• 一鍵修復不安全元素
外掛標籤
開發者團隊
原文外掛簡介
Insecure Content Warning helps content creators with secure (HTTPS) websites avoid insecure-content warnings in the browser by flagging any elements in the content editor (such as images, videos, and embeds) that are being delivered or sourced from an insecure (HTTP) web address. All insecure elements are flagged before the content is published, and can be fixed manually or simply by clicking “fix it.”
Compatible with the “classic” editor as well as the block editor (aka Gutenberg).
Technical Notes
Requires PHP 7.4+.
Requires a secure / SSL (HTTPS) website, front and back end.
Usage
This plugin requires no configuration. Simply activate and the plugin will prevent posts with insecure elements from being published, as well as provide a banner with information on the offending assets.
Optional WP-CLI Commands
These are not required for normal usage of the plugin, but are available as a utility for more advanced usage.
wp icw fix
Used to fix insecure elements in existing content. Can target specific posts or bulk batches.
wp icw fix [
Example:
$ wp icw fix --all --post_type=page
Checking post content...
Total posts checked for insecure URL(s): 10
+-------------------------------------+
| URL(s) fixed summary |
+-------------------------------------+
| 0/0 URL(s) fixed in post 98 |
| 0/0 URL(s) fixed in post 96 |
| 0/0 URL(s) fixed in post 76 |
| ........................... |
| 0/0 URL(s) fixed in post 6 |
| 0/0 URL(s) fixed in post 1 |
+-------------------------------------+
Run wp help icw fix for more information on the command args.
