Skip to content

Commit b1fe43d

Browse files
author
Marco Pereirinha
committed
Set the defaults to booleans
1 parent c9ba992 commit b1fe43d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ui-definitions/settings-image.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
'title' => __( 'Image optimization', 'cloudinary' ),
2626
'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' ),
2727
'description' => __( 'Optimize images on my site.', 'cloudinary' ),
28-
'default' => 'on',
28+
'default' => true,
2929
'attributes' => array(
3030
'data-context' => 'image',
3131
),

ui-definitions/settings-video.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
'title' => __( 'Video optimization', 'cloudinary' ),
103103
'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' ),
104104
'description' => __( 'Optimize videos on my site.', 'cloudinary' ),
105-
'default' => 'on',
105+
'default' => true,
106106
'attributes' => array(
107107
'data-context' => 'video',
108108
),

0 commit comments

Comments
 (0)