Merge branch 'pr/10724'

This commit is contained in:
Mike Jolley 2016-04-18 15:39:25 +01:00
commit 53b867e03e
1 changed files with 7 additions and 4 deletions

View File

@ -308,10 +308,13 @@ class WC_Admin_Taxonomies {
*/
public function product_cat_columns( $columns ) {
$new_columns = array();
$new_columns['cb'] = $columns['cb'];
$new_columns['thumb'] = __( 'Image', 'woocommerce' );
if ( isset( $columns['cb'] ) ) {
$new_columns['cb'] = $columns['cb'];
unset( $columns['cb'] );
}
$new_columns['thumb'] = __( 'Image', 'woocommerce' );
return array_merge( $new_columns, $columns );
}