10+
April 24, 2025
August 13, 2019
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).
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.
These are not required for normal usage of the plugin, but are available as a utility for more advanced usage.
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.
No FAQ provided.
Note that this release bumps the WordPress minimum version from 6.4 to 6.6.
webpack
from 5.89.0 to 5.94.0 (props @dependabot, @faisal-alvi via #186).@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, @peterwilsoncc via #191, #193).ws
from 7.5.10 to 8.18.0 (props @dependabot, @iamdharmesh via #193).Note that this release bumps the WordPress minimum version from 5.8 to 6.4.
PluginPostStatusInfo
component from @wordpress/edit-post
to @wordpress/editor
(props @gabriel-glo, @dkotter via #178).@babel/traverse
from 7.22.10 to 7.23.2 (props @dependabot, @peterwilsoncc via #150).axios
from 0.25.0 to 1.7.4 and @wordpress/scripts
from 26.17.0 to 26.19.0 (props @dependabot, @ravinderk, @faisal-alvi via #155, #179).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, @Sidsector9 via #167).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, @iamdharmesh via #172).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, @dinhtungdu, @jeffpaul, @faisal-alvi via #56).
stylelint
from 9.10.1 to 15.10.1 (props @dependabot, @ravinderk via #126).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, @dkotter via #145).postcss
from 8.4.27 to 8.4.31 (props @dependabot, @Sidsector9 via #147).