We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tabbed
1 parent 78e20ae commit 6f01ff9Copy full SHA for 6f01ff9
redux-core/inc/extensions/tabbed/tabbed/class-redux-tabbed.php
@@ -124,7 +124,7 @@ public function output_field( array $field ) {
124
125
$default = $field['default'] ?? '';
126
127
- $value = empty( $this->parent->options[ $orig_field_id ] ) && 0 !== (int) $this->parent->options[ $orig_field_id ] ? $default : $this->parent->options[ $orig_field_id ];
+ $value = isset( $this->parent->options[ $orig_field_id ] ) && 0 !== (int) $this->parent->options[ $orig_field_id ] ? $this->parent->options[ $orig_field_id ] : $default;
128
129
$this->parent->render_class->field_input( $field, $value );
130
0 commit comments