Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter patashnik

    (@patashnik)

    Hi @slui

    Gonna have to track back on this review, because it turned out that the images in my portfolio website were gone, but the cache was keeping the frontend together (newb mistake, I know).

    Many plugins that use images in posts/blocks don’t register post_type=attachment as attached in the Media Library. It’s exactly those images that were deleted by Media Hygiene.

    Hopefully, there is a hacky way to work around that. Maybe keeping it’s own track of image to post attachments, scanning the content for those on first run and then re-scanning when the save_post action is fired. Anyway. Good luck with that.

    EDIT: Maybe try to reproduce all that on latest WordPress. It’s been a couple of busy months since I’ve dealt with the issue, so I might not be recalling this 100% correctly. For the case at hand, I used Meow Gallery, but I’ve observed this with other plugins over the years as well.

    • This reply was modified 1 month, 1 week ago by patashnik. Reason: Case details
Viewing 1 replies (of 1 total)