Cast class to array

Closes #11294
This commit is contained in:
Mike Jolley 2016-06-30 08:47:03 +01:00
parent bc9b2f6f9a
commit 361ab507d2
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ class WC_Meta_Box_Product_Data {
) );
foreach ( $product_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
}