| @@ -278,9 +278,9 @@ | ||
| 278 | 278 | echo '<select name="' . esc_attr( $this->html_name ) . '">'; |
| 279 | 279 | echo '<option value="">' . esc_html( $this->blank_option_label ) . '</option>'; |
| 280 | 280 | |
| 281 | 281 | if ( ! empty( $this->options ) ) { |
| 282 | - $truncate = $this->truncate ?? 25; | |
| 282 | + $truncate = isset( $this->truncate ) ? $this->truncate : 25; | |
| 283 | 283 | |
| 284 | 284 | foreach ( $this->options as $key => $value ) { |
| 285 | 285 | if ( $value == '' ) { |
| 286 | 286 | continue; |