From 4321379e07c3747c2d6ea1b786dee6b0e55e8698 Mon Sep 17 00:00:00 2001 From: David Cramer Date: Mon, 18 Jan 2021 13:06:33 +0200 Subject: [PATCH 1/2] set image_optimisation' on by default --- ui-definitions/settings-image.php | 1 + 1 file changed, 1 insertion(+) diff --git a/ui-definitions/settings-image.php b/ui-definitions/settings-image.php index 8915bd45b..5883a7ae2 100644 --- a/ui-definitions/settings-image.php +++ b/ui-definitions/settings-image.php @@ -25,6 +25,7 @@ 'title' => __( 'Image optimization', 'cloudinary' ), 'tooltip_text' => __( 'Images will be delivered using Cloudinary’s automatic format and quality algorithms for the best tradeoff between visual quality and file size. Use Advanced Optimization options to manually tune format and quality.', 'cloudinary' ), 'description' => __( 'Optimize images on my site.', 'cloudinary' ), + 'default' => 'on', 'attributes' => array( 'data-context' => 'image', ), From 50c46dd31e948545e77d1066bee6e416b1d646af Mon Sep 17 00:00:00 2001 From: Marco Pereirinha Date: Mon, 18 Jan 2021 14:27:26 +0000 Subject: [PATCH 2/2] Optimize videos by default --- ui-definitions/settings-video.php | 1 + 1 file changed, 1 insertion(+) diff --git a/ui-definitions/settings-video.php b/ui-definitions/settings-video.php index 5c48e6ded..f4b6fbb19 100644 --- a/ui-definitions/settings-video.php +++ b/ui-definitions/settings-video.php @@ -102,6 +102,7 @@ 'title' => __( 'Video optimization', 'cloudinary' ), 'tooltip_text' => __( 'Videos will be delivered using Cloudinary’s automatic format and quality algorithms for the best tradeoff between visual quality and file size. Use Advanced Optimization options to manually tune format and quality.', 'cloudinary' ), 'description' => __( 'Optimize videos on my site.', 'cloudinary' ), + 'default' => 'on', 'attributes' => array( 'data-context' => 'video', ),