Insecure Content Warning

Descripción

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 WordPress 5.8+.
  • 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.

Capturas

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

Instalación

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

Reseñas

No hay reseñas para este plugin.

Colaboradores y desarrolladores

«Insecure Content Warning» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«Insecure Content Warning» ha sido traducido a 1 idioma local. Gracias a los traductores por sus contribuciones.

Traduce «Insecure Content Warning» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.2.1 – 2024-08-22

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

1.2.0 – 2023-10-16

View historical changelog details here.