Skip to content

v0.7.1

Choose a tag to compare

@ogorzalka ogorzalka released this 20 Oct 08:46
· 134 commits to main since this release
0057eb8

Fixed

  • The eager() sizes of an image edited in the media library (cropped, rotated, flipped, or put back by Restore image) are made, as at upload. WordPress writes the new original and its own sizes, then saves the metadata without wp_generate_attachment_metadata, so the sizes were only worked out in the URLs and never made: a disk served directly, with no fallback, returned broken images until thumbs warm ran. DeclaredSizes::remake() runs on wp_update_attachment_metadata and acts only when the file of the metadata changes. The sizes of the previous original stay on the disk, where Restore image expects them, and thumbs prune keeps them
  • README: the Apply changes to: thumbnail only option of the image editor is not followed by a declared size, which is always made from the original