Merge pull request #20037 from woocommerce/fix/steps
Add default empty step class to html-csv-import-steps.php
This commit is contained in:
commit
cf1bd6b5cd
|
@ -12,6 +12,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
<ol class="wc-progress-steps">
|
||||
<?php foreach ( $this->steps as $step_key => $step ) : ?>
|
||||
<?php
|
||||
$step_class = '';
|
||||
if ( $step_key === $this->step ) {
|
||||
$step_class = 'active';
|
||||
} elseif ( array_search( $this->step, array_keys( $this->steps ), true ) > array_search( $step_key, array_keys( $this->steps ), true ) ) {
|
||||
|
|
Loading…
Reference in New Issue