Skip to content

Commit 9ee7bd1

Browse files
committed
Fix issue where queueJobOnPostSave option falls back to default unexpectedly
1 parent f06790a commit 9ee7bd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CoreOptions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ public static function getValue( string $name ) : string {
404404

405405
$option_value = $wpdb->get_var( $sql );
406406

407-
if ( ! $option_value || ! is_string( $option_value ) ) {
407+
if ( ! is_string( $option_value ) ) {
408408
$option_value = (string) $opt_spec['default_value'];
409409
}
410410

0 commit comments

Comments
 (0)