| @@ -281,9 +281,9 @@ | ||
| 281 | 281 | protected function display_dropdown() { |
| 282 | 282 | echo '<select name="' . esc_attr( $this->html_name ) . '">'; |
| 283 | 283 | echo '<option value="">' . esc_html( $this->blank_option_label ) . '</option>'; |
| 284 | 284 | |
| 285 | - if ( ! empty( $this->options ) ) { | |
| 285 | + if ( $this->options ) { | |
| 286 | 286 | $truncate = $this->truncate ?? 25; |
| 287 | 287 | |
| 288 | 288 | foreach ( $this->options as $key => $value ) { |
| 289 | 289 | // phpcs:ignore Universal.Operators.StrictComparisons |