From 9ee7bd1ee97d0c17708265f01ae1d16940172486 Mon Sep 17 00:00:00 2001 From: Heri Setiawan Date: Fri, 7 Feb 2025 08:09:04 +0700 Subject: [PATCH] Fix issue where queueJobOnPostSave option falls back to default unexpectedly --- src/CoreOptions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CoreOptions.php b/src/CoreOptions.php index 3fa35736..52d33f2b 100755 --- a/src/CoreOptions.php +++ b/src/CoreOptions.php @@ -404,7 +404,7 @@ public static function getValue( string $name ) : string { $option_value = $wpdb->get_var( $sql ); - if ( ! $option_value || ! is_string( $option_value ) ) { + if ( ! is_string( $option_value ) ) { $option_value = (string) $opt_spec['default_value']; }