This commit is contained in:
parent
22a32ae9c8
commit
913cc42c06
|
@ -1075,7 +1075,7 @@ abstract class WC_Abstract_Order {
|
|||
if ( '_' === substr( $name, 0, 1 ) ) {
|
||||
$items[ $item->order_item_id ][ substr( $name, 1 ) ] = $value[0];
|
||||
} elseif ( ! in_array( $name, $reserved_item_meta_keys ) ) {
|
||||
$items[ $item->order_item_id ][ $name ] = $value[0];
|
||||
$items[ $item->order_item_id ][ $name ] = make_clickable( $value[0] );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ class WC_Order_Item_Meta {
|
|||
} else {
|
||||
$meta_list[] = '
|
||||
<dt class="variation-' . sanitize_html_class( sanitize_text_field( $meta_key ) ) . '">' . wp_kses_post( $meta['label'] ) . ':</dt>
|
||||
<dd class="variation-' . sanitize_html_class( sanitize_text_field( $meta_key ) ) . '">' . wp_kses_post( wpautop( $meta['value'] ) ) . '</dd>
|
||||
<dd class="variation-' . sanitize_html_class( sanitize_text_field( $meta_key ) ) . '">' . wp_kses_post( wpautop( make_clickable( $meta['value'] ) ) ) . '</dd>
|
||||
';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue