Merge pull request #15400 from woocommerce/update/attribute-value-output

use make clickable for urls
This commit is contained in:
Claudiu Lodromanean 2017-06-01 08:21:08 -07:00 committed by GitHub
commit 569642661c
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
* @see https://docs.woocommerce.com/document/template-structure/ * @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes * @author WooThemes
* @package WooCommerce/Templates * @package WooCommerce/Templates
* @version 3.0.0 * @version 3.1.0
*/ */
if ( ! defined( 'ABSPATH' ) ) { if ( ! defined( 'ABSPATH' ) ) {
@ -60,7 +60,7 @@ if ( ! defined( 'ABSPATH' ) ) {
$values = $attribute->get_options(); $values = $attribute->get_options();
foreach ( $values as &$value ) { foreach ( $values as &$value ) {
$value = esc_html( $value ); $value = make_clickable( esc_html( $value ) );
} }
} }