Same as #7662 for backend

This commit is contained in:
Mike Jolley 2015-03-09 13:48:47 +00:00
parent 3fc7a0ae65
commit 01ee531136
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ if ( ! defined( 'ABSPATH' ) ) {
$meta['meta_key'] = wc_attribute_label( wc_sanitize_taxonomy_name( $meta['meta_key'] ) );
$meta['meta_value'] = isset( $term->name ) ? $term->name : $meta['meta_value'];
} else {
$meta['meta_key'] = apply_filters( 'woocommerce_attribute_label', $meta['meta_key'], $meta['meta_key'] );
$meta['meta_key'] = apply_filters( 'woocommerce_attribute_label', wc_attribute_label( $meta['meta_key'], $_product ), $meta['meta_key'] );
}
echo '<tr><th>' . wp_kses_post( rawurldecode( $meta['meta_key'] ) ) . ':</th><td>' . wp_kses_post( wpautop( make_clickable( rawurldecode( $meta['meta_value'] ) ) ) ) . '</td></tr>';