Merge pull request #4528 from alexcsandru/patch-1
Update wc-template-functions.php
This commit is contained in:
commit
9275eb89d6
|
@ -1472,7 +1472,7 @@ if ( ! function_exists( 'woocommerce_subcategory_thumbnail' ) ) {
|
|||
}
|
||||
|
||||
if ( $image )
|
||||
echo '<img src="' . esc_url( $image ) . '" alt="' . esc_attr( $category->name ) . '" width="' . esc_attr( $dimensions['width'] ) . '" height="' . esc_url( $dimensions['height'] ) . '" />';
|
||||
echo '<img src="' . esc_url( $image ) . '" alt="' . esc_attr( $category->name ) . '" width="' . esc_attr( $dimensions['width'] ) . '" height="' . esc_attr( $dimensions['height'] ) . '" />';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue