Skip to content

SiteHelm 0.15.0 — a media item can be deleted

Latest

Choose a tag to compare

@Mrshahidali420 Mrshahidali420 released this 07 Sep 11:05
· 16 commits to main since this release
0b1c0e5

A media item can now be deleted, and two faults a real site turned up while the last release was being exercised on it.

The media dispatcher could upload a file, import one from a web address, rename it, resize it and attach it to a post, and it could not take one away. media-delete removes one item and the files behind it. It is the one media operation with no way back, so it always previews, and the preview names the file that goes, how many resized copies go with it, and any content using it as a featured image.

Operations no longer disappear from the catalogue because the plugin they belong to is missing. The eight WooCommerce operations were listed on a site without the add-on and then vanished the moment the add-on arrived; they are now listed either way, marked unavailable, with the reason. The saved catalogue and the operation search had the same problem in reverse, reporting every operation as available whatever state its plugin was in.

A write that fails its check now says what actually went wrong. The engine used to throw the operation's own verdict away and report the same sentence every time, then tell the administrator to restore a snapshot that, for a delete, was never taken.

Full changelog: https://github.com/Mrshahidali420/SiteHelm/blob/main/CHANGELOG.md