amnestywebsite / humanity-theme

The Amnesty International WordPress Humanity Theme
https://wordpresstheme.amnesty.org/
Other
38 stars 10 forks source link

Bug - hide media plugin - not blocking images #467

Open SophieAmnesty opened 2 weeks ago

SophieAmnesty commented 2 weeks ago

Describe the bug
It looks like the hide media plugin isn't blocking images at the moment.

To Reproduce
Steps to reproduce the behavior:

  1. start a new post
  2. add an image with no text in the description field in the media library
  3. publish the post and view
  4. you can see the image, it's not blocked.

Expected behaviour
if there is nothing entered into the description field of the image in the media library, it should be blocked on the front end with the yellow candle image.

Actual behaviour
images aren't getting blocked.

Link to a page where the bug is reproduced in isolation (optional)
https://isaidotorgstg.wpengine.com/en/latest/news/2024/11/hide-media-plugin/

Platform:
https://www.whatsmybrowser.org/b/UILZ7

Additional context
candle is showing on thumbnails when there is no featured image added to the post: image