cast $tabs['class'] as array

This commit is contained in:
Kathy Darling 2013-10-21 22:13:52 +02:00
parent 67e4f0731e
commit cc50c0f3ef
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class WC_Meta_Box_Coupon_Data {
) );
foreach ( $coupon_data_tabs as $key => $tab ) {
?><li class="<?php echo $key; ?>_options <?php echo $key; ?>_tab <?php echo implode( ' ' , $tab['class'] ); ?>">
?><li class="<?php echo $key; ?>_options <?php echo $key; ?>_tab <?php echo implode( ' ' , (array) $tab['class'] ); ?>">
<a href="#<?php echo $tab['target']; ?>"><?php echo esc_html( $tab['label'] ); ?></a>
</li><?php
}