From 0c6da490561b5bdf607f59e7a4a0d283ebb3f78d Mon Sep 17 00:00:00 2001 From: Robert O'Rourke <23417+roborourke@users.noreply.github.com> Date: Tue, 2 Apr 2024 14:22:27 +0000 Subject: [PATCH] Update Smart Media for WP 6.0+ compatiblity The smart media image editing UI and functionality has been broken since WP 6.0 / Altis v13. This update restores that functionality and also fixes an incompatilbity with WP 6.4 whereby cropped image sizes were not present on the frontend srcset, also the width and height attributes were derived incorrectly. See https://github.com/humanmade/smart-media/issues/219 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 3dea7b3..1b62763 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "php": ">=7.1", "darylldoyle/safe-svg": "2.0.3", "humanmade/tachyon-plugin": "~0.11.8", - "humanmade/smart-media": "~0.4.6", + "humanmade/smart-media": "~0.5.0", "humanmade/aws-rekognition": "~0.1.8", "humanmade/rename-images-command": "^0.1.0", "humanmade/asset-manager-framework": "^0.13.5",