| @@ -358,9 +358,9 @@ | ||
| 358 | 358 | $has_current = true; |
| 359 | 359 | } |
| 360 | 360 | |
| 361 | 361 | // Set disabled buttons. |
| 362 | - $class = $step['button_class'] ?? ''; | |
| 362 | + $class = isset( $step['button_class'] ) ? $step['button_class'] : ''; | |
| 363 | 363 | $class .= ' button-primary frm-button-primary'; |
| 364 | 364 | if ( ! $steps[ $k ]['current'] ) { |
| 365 | 365 | $class .= ' frm_grey disabled'; |
| 366 | 366 | } |
| @@ -491,9 +491,9 @@ | ||
| 491 | 491 | protected function show_plugin_install( $step ) { |
| 492 | 492 | $this->step_top( $step ); |
| 493 | 493 | |
| 494 | 494 | if ( ! isset( $step['error'] ) ) { |
| 495 | - $rel = $step['links'] ?? array(); | |
| 495 | + $rel = isset( $step['links'] ) ? $step['links'] : array(); | |
| 496 | 496 | |
| 497 | 497 | ?> |
| 498 | 498 | <a rel="<?php echo esc_attr( implode( ',', $rel ) ); ?>" class="<?php echo esc_attr( $step['button_class'] ); ?>"> |
| 499 | 499 | <?php echo esc_html( $step['button_label'] ); ?> |