From 179369ec75c995a1011477609d4e2ea39897fa3b Mon Sep 17 00:00:00 2001 From: David Cramer Date: Tue, 19 Jan 2021 17:11:51 +0200 Subject: [PATCH] conditional - set true for on_off --- ui-definitions/settings-video.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui-definitions/settings-video.php b/ui-definitions/settings-video.php index 674e0fe2a..4f417f2ee 100644 --- a/ui-definitions/settings-video.php +++ b/ui-definitions/settings-video.php @@ -85,7 +85,7 @@ 'default' => '500', 'suffix' => 'k', 'condition' => array( - 'video_limit_bitrate' => 'on', + 'video_limit_bitrate' => true, ), 'attributes' => array( 'data-context' => 'video', @@ -113,7 +113,7 @@ 'title' => __( 'Advanced optimization', 'cloudinary' ), 'collapsible' => 'open', 'condition' => array( - 'video_optimization' => 'on', + 'video_optimization' => true, ), array( 'type' => 'select',