Title: Insecure Content Warning
Author: 10up
Published: <strong>2019 年 8 月 13 日</strong>
Last modified: 2025 年 4 月 24 日

---

搜索插件

![](https://ps.w.org/insecure-content-warning/assets/banner-772x250.png?rev=2588061)

![](https://ps.w.org/insecure-content-warning/assets/icon.svg?rev=2845724)

# Insecure Content Warning

 作者：[10up](https://profiles.wordpress.org/10up/)

[下载](https://downloads.wordpress.org/plugin/insecure-content-warning.1.2.2.zip)

[实时预览](https://cn.wordpress.org/plugins/insecure-content-warning/?preview=1)

 * [详情](https://cn.wordpress.org/plugins/insecure-content-warning/#description)
 * [评价](https://cn.wordpress.org/plugins/insecure-content-warning/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/insecure-content-warning/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/insecure-content-warning/#developers)

 [支持](https://wordpress.org/support/plugin/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 [<id>] [--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.

## 屏幕截图

 * [[
 * Example of attempting to publish a post with insecure content – classic editor.
 * [[
 * Example of attempting to publish a post with insecure content – block editor.

## 安装

 1. Install the plugin via the plugin installer, either by searching for it or uploading
    a .zip file.
 2. Activate the plugin.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Insecure Content Warning」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ 10up ](https://profiles.wordpress.org/10up/)
 *   [ psorensen ](https://profiles.wordpress.org/psorensen/)
 *   [ Adam Silverstein ](https://profiles.wordpress.org/adamsilverstein/)
 *   [ tlovett ](https://profiles.wordpress.org/tlovett/)
 *   [ David Green ](https://profiles.wordpress.org/davidrgreen/)
 *   [ Darin Kotter ](https://profiles.wordpress.org/dkotter/)
 *   [ Jeffrey Paul ](https://profiles.wordpress.org/jeffpaul/)

「Insecure Content Warning」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/insecure-content-warning/contributors)
为本插件所做的贡献。

[帮助将「Insecure Content Warning」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/insecure-content-warning)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/insecure-content-warning/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/insecure-content-warning/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/insecure-content-warning/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/insecure-content-warning/)。

## 更新日志

#### 1.2.2 – 2025-02-03

**Note that this release bumps the WordPress minimum version from 6.4 to 6.6.**

 * **Changed:** Bump WordPress minimum supported version from 6.4 to 6.6 (props 
   [@peterwilsoncc](https://github.com/peterwilsoncc), [@jeffpaul](https://github.com/jeffpaul)
   via [#185](https://github.com/10up/insecure-content-warning/pull/185), [#191](https://github.com/10up/insecure-content-warning/pull/191)).
 * **Security:** Bump `webpack` from 5.89.0 to 5.94.0 (props [@dependabot](https://github.com/apps/dependabot),
   [@faisal-alvi](https://github.com/faisal-alvi) via [#186](https://github.com/10up/insecure-content-warning/pull/186)).
 * **Security:** Bump `@wordpress/scripts` from 27.1.0 to 30.6.0, `express` from
   4.19.2 to 4.21.0 and `serve-static` from 1.15.0 to 1.16.2 (props [@dependabot](https://github.com/apps/dependabot),
   [@peterwilsoncc](https://github.com/peterwilsoncc) via [#191](https://github.com/10up/insecure-content-warning/pull/191),
   [#193](https://github.com/10up/insecure-content-warning/pull/193)).
 * **Security:** Bump `ws` from 7.5.10 to 8.18.0 (props [@dependabot](https://github.com/apps/dependabot),
   [@iamdharmesh](https://github.com/iamdharmesh) via [#193](https://github.com/10up/insecure-content-warning/pull/193)).

#### 1.2.1 – 2024-08-22

**Note that this release bumps the WordPress minimum version from 5.8 to 6.4.**

 * **Changed:** Bump WordPress “tested up to” version to 6.6 (props [@QAharshalkadu](https://github.com/QAharshalkadu),
   [@ankitguptaindia](https://github.com/ankitguptaindia), [@jeffpaul](https://github.com/jeffpaul),
   [@dkotter](https://github.com/dkotter) via [#152](https://github.com/10up/insecure-content-warning/pull/152),
   [#153](https://github.com/10up/insecure-content-warning/pull/153), [#168](https://github.com/10up/insecure-content-warning/pull/168),
   [#176](https://github.com/10up/insecure-content-warning/pull/176)).
 * **Changed:** Bump WordPress minimum supported version from 5.8 to 6.4 (props 
   [@jeffpaul](https://github.com/jeffpaul), [@ankitguptaindia](https://github.com/ankitguptaindia),
   [@dkotter](https://github.com/dkotter) via [#168](https://github.com/10up/insecure-content-warning/pull/168),
   [#176](https://github.com/10up/insecure-content-warning/pull/176)).
 * **Changed:** Import of `PluginPostStatusInfo` component from `@wordpress/edit-
   post` to `@wordpress/editor` (props [@gabriel-glo](https://github.com/gabriel-glo),
   [@dkotter](https://github.com/dkotter) via [#178](https://github.com/10up/insecure-content-warning/pull/178)).
 * **Security:** Bump `@babel/traverse` from 7.22.10 to 7.23.2 (props [@dependabot](https://github.com/apps/dependabot),
   [@peterwilsoncc](https://github.com/peterwilsoncc) via [#150](https://github.com/10up/insecure-content-warning/pull/150)).
 * **Security:** Bump `axios` from 0.25.0 to 1.7.4 and `@wordpress/scripts` from
   26.17.0 to 26.19.0 (props [@dependabot](https://github.com/apps/dependabot), 
   [@ravinderk](https://github.com/ravinderk), [@faisal-alvi](https://github.com/faisal-alvi)
   via [#155](https://github.com/10up/insecure-content-warning/pull/155), [#179](https://github.com/10up/insecure-content-warning/pull/179)).
 * **Security:** Bump `express` from 4.18.2 to 4.19.2, `follow-redirects` from 1.15.3
   to 1.15.6 and `webpack-dev-middleware` from 5.3.3 to 5.3.4 (props [@dependabot](https://github.com/apps/dependabot),
   [@Sidsector9](https://github.com/Sidsector9) via [#167](https://github.com/10up/insecure-content-warning/pull/167)).
 * **Security:** Bump `braces` from 3.0.2 to 3.0.3, `pac-resolver` from 7.0.0 to
   7.0.1, `socks` from 2.7.1 to 2.8.3, `ws` from 7.5.9 to 7.5.10 and removed `ip`(
   props [@dependabot](https://github.com/apps/dependabot), [@iamdharmesh](https://github.com/iamdharmesh)
   via [#172](https://github.com/10up/insecure-content-warning/pull/172)).

#### 1.2.0 – 2023-10-16

 * **Note that this version bumps the minimum WordPress version from 5.7 to 5.8.**
 * **Added:** Ensure that saving using the keyboard shortcut `Ctrl|Command + S` 
   triggers the insecure content check (props [@Sidsector9](https://github.com/Sidsector9),
   [@dinhtungdu](https://github.com/dinhtungdu), [@jeffpaul](https://github.com/jeffpaul),
   [@faisal-alvi](https://github.com/faisal-alvi) via [#56](https://github.com/10up/insecure-content-warning/pull/56)).
 * **Added:** New admin screen to bulk fix insecure content (props [@kmgalanakis](https://github.com/kmgalanakis),
   [@peterwilsoncc](https://github.com/peterwilsoncc) via [#112](https://github.com/10up/insecure-content-warning/pull/112)).
 * **Added:** Composer, with PHPCBF and PHPCS to aid with coding standards (props
   [@cameronterry](https://github.com/cameronterry), [@peterwilsoncc](https://github.com/peterwilsoncc)
   via [#127](https://github.com/10up/insecure-content-warning/pull/127)).
 * **Added:** Check for minimum required PHP version before loading the plugin (
   props [@kmgalanakis](https://github.com/kmgalanakis), [@peterwilsoncc](https://github.com/peterwilsoncc)
   via [#135](https://github.com/10up/insecure-content-warning/pull/135)).
 * **Added:** Repo Automater GitHub Action added to automate common repo operations(
   props [@iamdharmesh](https://github.com/iamdharmesh), [@jeffpaul](https://github.com/jeffpaul)
   via [#142](https://github.com/10up/insecure-content-warning/pull/142)).
 * **Changed:** Bump WordPress “tested up to” version to 6.3 (props [@kmgalanakis](https://github.com/kmgalanakis),
   [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter)
   via [#140](https://github.com/10up/insecure-content-warning/pull/140), [#144](https://github.com/10up/insecure-content-warning/pull/144)).
 * **Changed:** Bump WordPress minimum supported version from 5.7 to 5.8 (props 
   [@iamdharmesh](https://github.com/iamdharmesh), [@dkotter](https://github.com/dkotter)
   via [#145](https://github.com/10up/insecure-content-warning/pull/145)).
 * **Fixed:** Properly handle fixing of multiple different instances of insecure
   content (props [@kmgalanakis](https://github.com/kmgalanakis), [@iamdharmesh](https://github.com/iamdharmesh)
   via [#139](https://github.com/10up/insecure-content-warning/pull/139)).
 * **Fixed:** Ensure all Cypress E2E tests pass when running on WordPress 6.3 (props
   [@iamdharmesh](https://github.com/iamdharmesh), [@dkotter](https://github.com/dkotter)
   via [#145](https://github.com/10up/insecure-content-warning/pull/145)).
 * **Security:** Bump `stylelint` from 9.10.1 to 15.10.1 (props [@dependabot](https://github.com/apps/dependabot),
   [@ravinderk](https://github.com/ravinderk) via [#126](https://github.com/10up/insecure-content-warning/pull/126)).
 * **Security:** Bump `cypress` from 11.2.0 to 13.2.0, `@10up/cypress-wp-utils` 
   from 0.1.0 to 0.2.0 and `@wordpress/env` from 5.8.0 to 8.7.0 (props [@iamdharmesh](https://github.com/iamdharmesh),
   [@dkotter](https://github.com/dkotter) via [#145](https://github.com/10up/insecure-content-warning/pull/145)).
 * **Security:** Bump `postcss` from 8.4.27 to 8.4.31 (props [@dependabot](https://github.com/apps/dependabot),
   [@Sidsector9](https://github.com/Sidsector9) via [#147](https://github.com/10up/insecure-content-warning/pull/147)).

[View historical changelog details here](https://github.com/10up/insecure-content-warning/blob/develop/CHANGELOG.md).

## 社区插件

该插件由社区开发和支持。 [为该插件贡献](https://github.com/10up/insecure-content-warning)

## 额外信息

 *  版本 **1.2.2**
 *  最后更新：**1 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 6.6 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/insecure-content-warning/) 和 [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/insecure-content-warning/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/insecure-content-warning)
 * 标签
 * [https](https://cn.wordpress.org/plugins/tags/https/)[Publishers](https://cn.wordpress.org/plugins/tags/publishers/)
   [publishing](https://cn.wordpress.org/plugins/tags/publishing/)[secure content](https://cn.wordpress.org/plugins/tags/secure-content/)
   [ssl](https://cn.wordpress.org/plugins/tags/ssl/)
 *  [高级视图](https://cn.wordpress.org/plugins/insecure-content-warning/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/insecure-content-warning/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/insecure-content-warning/reviews/)

## 贡献者

 *   [ 10up ](https://profiles.wordpress.org/10up/)
 *   [ psorensen ](https://profiles.wordpress.org/psorensen/)
 *   [ Adam Silverstein ](https://profiles.wordpress.org/adamsilverstein/)
 *   [ tlovett ](https://profiles.wordpress.org/tlovett/)
 *   [ David Green ](https://profiles.wordpress.org/davidrgreen/)
 *   [ Darin Kotter ](https://profiles.wordpress.org/dkotter/)
 *   [ Jeffrey Paul ](https://profiles.wordpress.org/jeffpaul/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/insecure-content-warning/)