{"id":88880,"date":"2019-08-13T20:16:51","date_gmt":"2019-08-13T20:16:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/insecure-content-warning\/"},"modified":"2025-04-24T18:54:08","modified_gmt":"2025-04-24T18:54:08","slug":"insecure-content-warning","status":"publish","type":"plugin","link":"https:\/\/cl.wordpress.org\/plugins\/insecure-content-warning\/","author":8361946,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.2","stable_tag":"1.2.2","tested":"6.8.5","requires":"6.6","requires_php":"7.4","requires_plugins":null,"header_name":"Insecure Content Warning","header_author":"10up","header_description":"Prevent editors from adding insecure content in the editor.","assets_banners_color":"351c8a","last_updated":"2025-04-24 18:54:08","external_support_url":"","external_repository_url":"https:\/\/github.com\/10up\/insecure-content-warning","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/insecure-content-warning\/","header_author_uri":"https:\/\/10up.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":5223,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"10upbot","date":"2021-08-24 22:21:23"},"1.0.1":{"tag":"1.0.1","author":"10up","date":"2022-02-22 20:59:26"},"1.0.2":{"tag":"1.0.2","author":"10up","date":"2022-06-27 20:34:22"},"1.0.3":{"tag":"1.0.3","author":"10up","date":"2023-01-09 21:32:14"},"1.1.0":{"tag":"1.1.0","author":"10up","date":"2023-06-21 16:48:40"},"1.2.0":{"tag":"1.2.0","author":"10up","date":"2024-01-02 18:22:27"},"1.2.1":{"tag":"1.2.1","author":"10up","date":"2024-08-22 15:08:16"},"1.2.2":{"tag":"1.2.2","author":"10up","date":"2025-04-24 18:54:08"}},"upgrade_notice":{"1.2.2":"<ul>\n<li>Note that this version bumps the minimum WordPress version from 6.4 to 6.6.<\/li>\n<\/ul>","1.2.1":"<ul>\n<li>Note that this version bumps the minimum WordPress version from 5.8 to 6.4.<\/li>\n<\/ul>","1.2.0":"<ul>\n<li>Note that this version bumps the minimum WordPress version from 5.7 to 5.8.<\/li>\n<\/ul>","1.0.3":"<ul>\n<li>Note that this version bumps the minimum PHP version from 7.0 to 7.4 and the minimum WordPress version from 5.3 to 5.7.<\/li>\n<\/ul>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2588061,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2588061,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":2845724,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2588061,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2588061,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3281216,"resolution":false,"location":"assets","locale":"","contents":"{\"$schema\":\"https:\\\/\\\/playground.wordpress.net\\\/blueprint-schema.json\",\"landingPage\":\"\\\/wp-admin\\\/post.php?post=9&action=edit\",\"preferredVersions\":{\"php\":\"7.4\",\"wp\":\"latest\"},\"phpExtensionBundles\":[\"kitchen-sink\"],\"features\":{\"networking\":true},\"steps\":[{\"step\":\"login\",\"username\":\"admin\",\"password\":\"password\"},{\"step\":\"installPlugin\",\"pluginZipFile\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"insecure-content-warning\"},\"options\":{\"activate\":true}},{\"step\":\"importFile\",\"file\":{\"resource\":\"url\",\"url\":\"https:\\\/\\\/raw.githubusercontent.com\\\/10up\\\/insecure-content-warning\\\/6102837ca26c1d0b05ba15ef9d1b7d63f5201ff9\\\/.wordpress-org\\\/blueprints\\\/demo-data.xml\"}}]}"}},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.1.0","1.2.0","1.2.1","1.2.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2683297,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2683297,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Example of attempting to publish a post with insecure content - classic editor.","2":"Example of attempting to publish a post with insecure content - block editor."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1908,12651,7143,19836,1536],"plugin_category":[54],"plugin_contributors":[77761,79826,191406,83617,183658,202543,202544],"plugin_business_model":[216239],"class_list":["post-88880","plugin","type-plugin","status-publish","hentry","plugin_tags-https","plugin_tags-publishers","plugin_tags-publishing","plugin_tags-secure-content","plugin_tags-ssl","plugin_category-security-and-spam-protection","plugin_contributors-10up","plugin_contributors-adamsilverstein","plugin_contributors-davidrgreen","plugin_contributors-dkotter","plugin_contributors-jeffpaul","plugin_contributors-psorensen","plugin_contributors-tlovett","plugin_business_model-community","plugin_committers-10up","plugin_committers-10upbot","plugin_support_reps-ankit-k-gupta","plugin_support_reps-dharm1025","plugin_support_reps-dkotter","plugin_support_reps-faisal03","plugin_support_reps-jeffpaul","plugin_support_reps-nomnom99","plugin_support_reps-peterwilsoncc","plugin_support_reps-sumitbagthariya16"],"banners":{"banner":"https:\/\/ps.w.org\/insecure-content-warning\/assets\/banner-772x250.png?rev=2588061","banner_2x":"https:\/\/ps.w.org\/insecure-content-warning\/assets\/banner-1544x500.png?rev=2588061","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/insecure-content-warning\/assets\/icon.svg?rev=2845724","icon":"https:\/\/ps.w.org\/insecure-content-warning\/assets\/icon.svg?rev=2845724","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/insecure-content-warning\/assets\/screenshot-1.png?rev=2683297","caption":"Example of attempting to publish a post with insecure content - classic editor."},{"src":"https:\/\/ps.w.org\/insecure-content-warning\/assets\/screenshot-2.png?rev=2683297","caption":"Example of attempting to publish a post with insecure content - block editor."}],"raw_content":"<!--section=description-->\n<p>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.\"<\/p>\n\n<p>Compatible with the \"classic\" editor as well as the block editor (aka Gutenberg).<\/p>\n\n<h3>Technical Notes<\/h3>\n\n<ul>\n<li>Requires PHP 7.4+.<\/li>\n<li>Requires a secure \/ SSL (HTTPS) website, front and back end.<\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<p>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.<\/p>\n\n<h3>Optional WP-CLI Commands<\/h3>\n\n<p>These are not required for normal usage of the plugin, but are available as a utility for more advanced usage.<\/p>\n\n<h4>wp icw fix<\/h4>\n\n<p>Used to fix insecure elements in existing content. Can target specific posts or bulk batches.<\/p>\n\n<pre><code>wp icw fix [&lt;id&gt;] [--include] [--all] [--post_type] [--limit] [--offset] [--dry-run]\n<\/code><\/pre>\n\n<p>Example:\n     <code>$ wp icw fix --all --post_type=page\n Checking post content...\n Total posts checked for insecure URL(s): 10\n +-------------------------------------+\n | URL(s) fixed summary                |\n +-------------------------------------+\n | 0\/0 URL(s) fixed in post 98         |\n | 0\/0 URL(s) fixed in post 96         |\n | 0\/0 URL(s) fixed in post 76         |\n | ...........................         |\n | 0\/0 URL(s) fixed in post 6          |\n | 0\/0 URL(s) fixed in post 1          |\n +-------------------------------------+<\/code><\/p>\n\n<p>Run <code>wp help icw fix<\/code> for more information on the command args.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install the plugin via the plugin installer, either by searching for it or uploading a .zip file.<\/li>\n<li>Activate the plugin.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.2.2 - 2025-02-03<\/h4>\n\n<p><strong>Note that this release bumps the WordPress minimum version from 6.4 to 6.6.<\/strong><\/p>\n\n<ul>\n<li><strong>Changed:<\/strong> Bump WordPress minimum supported version from 6.4 to 6.6 (props <a href=\"https:\/\/github.com\/peterwilsoncc\">@peterwilsoncc<\/a>, <a href=\"https:\/\/github.com\/jeffpaul\">@jeffpaul<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/185\">#185<\/a>, <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/191\">#191<\/a>).<\/li>\n<li><strong>Security:<\/strong> Bump <code>webpack<\/code> from 5.89.0 to 5.94.0 (props <a href=\"https:\/\/github.com\/apps\/dependabot\">@dependabot<\/a>, <a href=\"https:\/\/github.com\/faisal-alvi\">@faisal-alvi<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/186\">#186<\/a>).<\/li>\n<li><strong>Security:<\/strong> Bump <code>@wordpress\/scripts<\/code> from 27.1.0 to 30.6.0, <code>express<\/code> from 4.19.2 to 4.21.0 and <code>serve-static<\/code> from 1.15.0 to 1.16.2 (props <a href=\"https:\/\/github.com\/apps\/dependabot\">@dependabot<\/a>, <a href=\"https:\/\/github.com\/peterwilsoncc\">@peterwilsoncc<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/191\">#191<\/a>, <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/193\">#193<\/a>).<\/li>\n<li><strong>Security:<\/strong> Bump <code>ws<\/code> from 7.5.10 to 8.18.0 (props <a href=\"https:\/\/github.com\/apps\/dependabot\">@dependabot<\/a>, <a href=\"https:\/\/github.com\/iamdharmesh\">@iamdharmesh<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/193\">#193<\/a>).<\/li>\n<\/ul>\n\n<h4>1.2.1 - 2024-08-22<\/h4>\n\n<p><strong>Note that this release bumps the WordPress minimum version from 5.8 to 6.4.<\/strong><\/p>\n\n<ul>\n<li><strong>Changed:<\/strong> Bump WordPress \"tested up to\" version to 6.6 (props <a href=\"https:\/\/github.com\/QAharshalkadu\">@QAharshalkadu<\/a>, <a href=\"https:\/\/github.com\/ankitguptaindia\">@ankitguptaindia<\/a>, <a href=\"https:\/\/github.com\/jeffpaul\">@jeffpaul<\/a>, <a href=\"https:\/\/github.com\/dkotter\">@dkotter<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/152\">#152<\/a>, <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/153\">#153<\/a>, <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/168\">#168<\/a>, <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/176\">#176<\/a>).<\/li>\n<li><strong>Changed:<\/strong> Bump WordPress minimum supported version from 5.8 to 6.4 (props <a href=\"https:\/\/github.com\/jeffpaul\">@jeffpaul<\/a>, <a href=\"https:\/\/github.com\/ankitguptaindia\">@ankitguptaindia<\/a>, <a href=\"https:\/\/github.com\/dkotter\">@dkotter<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/168\">#168<\/a>, <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/176\">#176<\/a>).<\/li>\n<li><strong>Changed:<\/strong> Import of <code>PluginPostStatusInfo<\/code> component from <code>@wordpress\/edit-post<\/code> to <code>@wordpress\/editor<\/code> (props <a href=\"https:\/\/github.com\/gabriel-glo\">@gabriel-glo<\/a>, <a href=\"https:\/\/github.com\/dkotter\">@dkotter<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/178\">#178<\/a>).<\/li>\n<li><strong>Security:<\/strong> Bump <code>@babel\/traverse<\/code> from 7.22.10 to 7.23.2 (props <a href=\"https:\/\/github.com\/apps\/dependabot\">@dependabot<\/a>, <a href=\"https:\/\/github.com\/peterwilsoncc\">@peterwilsoncc<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/150\">#150<\/a>).<\/li>\n<li><strong>Security:<\/strong> Bump <code>axios<\/code> from 0.25.0 to 1.7.4 and <code>@wordpress\/scripts<\/code> from 26.17.0 to 26.19.0 (props <a href=\"https:\/\/github.com\/apps\/dependabot\">@dependabot<\/a>, <a href=\"https:\/\/github.com\/ravinderk\">@ravinderk<\/a>, <a href=\"https:\/\/github.com\/faisal-alvi\">@faisal-alvi<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/155\">#155<\/a>, <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/179\">#179<\/a>).<\/li>\n<li><strong>Security:<\/strong> Bump <code>express<\/code> from 4.18.2 to 4.19.2, <code>follow-redirects<\/code> from 1.15.3 to 1.15.6 and <code>webpack-dev-middleware<\/code> from 5.3.3 to 5.3.4 (props <a href=\"https:\/\/github.com\/apps\/dependabot\">@dependabot<\/a>, <a href=\"https:\/\/github.com\/Sidsector9\">@Sidsector9<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/167\">#167<\/a>).<\/li>\n<li><strong>Security:<\/strong> Bump <code>braces<\/code> from 3.0.2 to 3.0.3, <code>pac-resolver<\/code> from 7.0.0 to 7.0.1, <code>socks<\/code> from 2.7.1 to 2.8.3, <code>ws<\/code> from 7.5.9 to 7.5.10 and removed <code>ip<\/code> (props <a href=\"https:\/\/github.com\/apps\/dependabot\">@dependabot<\/a>, <a href=\"https:\/\/github.com\/iamdharmesh\">@iamdharmesh<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/172\">#172<\/a>).<\/li>\n<\/ul>\n\n<h4>1.2.0 - 2023-10-16<\/h4>\n\n<ul>\n<li><p><strong>Note that this version bumps the minimum WordPress version from 5.7 to 5.8.<\/strong><\/p><\/li>\n<li><p><strong>Added:<\/strong> Ensure that saving using the keyboard shortcut <code>Ctrl|Command + S<\/code> triggers the insecure content check (props <a href=\"https:\/\/github.com\/Sidsector9\">@Sidsector9<\/a>, <a href=\"https:\/\/github.com\/dinhtungdu\">@dinhtungdu<\/a>, <a href=\"https:\/\/github.com\/jeffpaul\">@jeffpaul<\/a>, <a href=\"https:\/\/github.com\/faisal-alvi\">@faisal-alvi<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/56\">#56<\/a>).<\/p><\/li>\n<li><strong>Added:<\/strong> New admin screen to bulk fix insecure content (props <a href=\"https:\/\/github.com\/kmgalanakis\">@kmgalanakis<\/a>, <a href=\"https:\/\/github.com\/peterwilsoncc\">@peterwilsoncc<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/112\">#112<\/a>).<\/li>\n<li><strong>Added:<\/strong> Composer, with PHPCBF and PHPCS to aid with coding standards (props <a href=\"https:\/\/github.com\/cameronterry\">@cameronterry<\/a>, <a href=\"https:\/\/github.com\/peterwilsoncc\">@peterwilsoncc<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/127\">#127<\/a>).<\/li>\n<li><strong>Added:<\/strong> Check for minimum required PHP version before loading the plugin (props <a href=\"https:\/\/github.com\/kmgalanakis\">@kmgalanakis<\/a>, <a href=\"https:\/\/github.com\/peterwilsoncc\">@peterwilsoncc<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/135\">#135<\/a>).<\/li>\n<li><strong>Added:<\/strong> Repo Automater GitHub Action added to automate common repo operations (props <a href=\"https:\/\/github.com\/iamdharmesh\">@iamdharmesh<\/a>, <a href=\"https:\/\/github.com\/jeffpaul\">@jeffpaul<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/142\">#142<\/a>).<\/li>\n<li><strong>Changed:<\/strong> Bump WordPress \"tested up to\" version to 6.3 (props <a href=\"https:\/\/github.com\/kmgalanakis\">@kmgalanakis<\/a>, <a href=\"https:\/\/github.com\/jeffpaul\">@jeffpaul<\/a>, <a href=\"https:\/\/github.com\/dkotter\">@dkotter<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/140\">#140<\/a>, <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/144\">#144<\/a>).<\/li>\n<li><strong>Changed:<\/strong> Bump WordPress minimum supported version from 5.7 to 5.8 (props <a href=\"https:\/\/github.com\/iamdharmesh\">@iamdharmesh<\/a>, <a href=\"https:\/\/github.com\/dkotter\">@dkotter<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/145\">#145<\/a>).<\/li>\n<li><strong>Fixed:<\/strong> Properly handle fixing of multiple different instances of insecure content (props <a href=\"https:\/\/github.com\/kmgalanakis\">@kmgalanakis<\/a>, <a href=\"https:\/\/github.com\/iamdharmesh\">@iamdharmesh<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/139\">#139<\/a>).<\/li>\n<li><strong>Fixed:<\/strong> Ensure all Cypress E2E tests pass when running on WordPress 6.3 (props <a href=\"https:\/\/github.com\/iamdharmesh\">@iamdharmesh<\/a>, <a href=\"https:\/\/github.com\/dkotter\">@dkotter<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/145\">#145<\/a>).<\/li>\n<li><strong>Security:<\/strong> Bump <code>stylelint<\/code> from 9.10.1 to 15.10.1 (props <a href=\"https:\/\/github.com\/apps\/dependabot\">@dependabot<\/a>, <a href=\"https:\/\/github.com\/ravinderk\">@ravinderk<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/126\">#126<\/a>).<\/li>\n<li><strong>Security:<\/strong> Bump <code>cypress<\/code> from 11.2.0 to 13.2.0, <code>@10up\/cypress-wp-utils<\/code> from 0.1.0 to 0.2.0 and <code>@wordpress\/env<\/code> from 5.8.0 to 8.7.0 (props <a href=\"https:\/\/github.com\/iamdharmesh\">@iamdharmesh<\/a>, <a href=\"https:\/\/github.com\/dkotter\">@dkotter<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/145\">#145<\/a>).<\/li>\n<li><strong>Security:<\/strong> Bump <code>postcss<\/code> from 8.4.27 to 8.4.31 (props <a href=\"https:\/\/github.com\/apps\/dependabot\">@dependabot<\/a>, <a href=\"https:\/\/github.com\/Sidsector9\">@Sidsector9<\/a> via <a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/pull\/147\">#147<\/a>).<\/li>\n<\/ul>\n\n<p><a href=\"https:\/\/github.com\/10up\/insecure-content-warning\/blob\/develop\/CHANGELOG.md\">View historical changelog details here<\/a>.<\/p>","raw_excerpt":"Prevent editors from adding insecure content in the editor.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/88880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=88880"}],"author":[{"embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/10up"}],"wp:attachment":[{"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=88880"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=88880"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=88880"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=88880"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=88880"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=88880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}