[WordPress] 外掛分享: Insecure Content Warning

首頁外掛目錄 › Insecure Content Warning
WordPress 外掛 Insecure Content Warning 的封面圖片
10+
安裝啟用
尚無評分
328 天前
最後更新
問題解決
WordPress 6.6+ PHP 7.4+ v1.2.2 上架:2019-08-12

內容簡介

不安全的內容警告幫助有安全(HTTPS)網站的內容創作者避免瀏覽器中的不安全內容警告,通過標記內容編輯器中(如圖像、視頻和嵌入式內容)從不安全(HTTP)網址傳遞或源自的任何元素。在發布內容之前,所有不安全的元素都被標記出來,可以通過手動修復或單擊“修復”來簡單修正。

與“經典”編輯器以及塊編輯器(亦稱為 Gutenberg)兼容。

技術說明

需要 PHP 7.4+。
需要 WordPress 5.7+。
需要安全/ SSL(HTTPS)網站,前端和後端。

使用方法

此外掛不需要任何配置。只需啟用此外掛,即可防止發布帶有不安全元素的文章,並提供有關有問題的資源的橫額。

可選的 WP-CLI 命令

這些命令不是插件的正常使用所必需的,但可作為高級使用的工具。

wp icw fix

用於修復現有內容中的不安全元素。可以針對特定帖子或批量批次進行操作。

wp icw fix [<id>] [--include] [--all] [--post_type] [--limit] [--offset] [--dry-run]

例如:
$ wp icw fix --all --post_type=page
檢查帖子內容...
檢查不安全 URL 的帖子總數:10
+-------------------------------------+
| URL 修復摘要 |
+-------------------------------------+
| 在帖子 98 中修復URL 0/0 |
| 在帖子 96 中修復URL 0/0 |
| 在帖子 76 中修復URL 0/0 |
| ........................... |
| 在帖子 6 中修復URL 0/0 |
| 在帖子 1 中修復URL 0/0 |
+-------------------------------------+

要獲得有關命令參數的更多信息,請運行 wp help icw fix。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Insecure Content Warning」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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 [] [--include] [--all] [--post_type] [--limit] [--offset] [--dry-run]

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.

延伸相關外掛

文章
Filter
Mastodon