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

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