Alt text Closes #616.
This commit is contained in:
parent
4a638b962c
commit
d54812c415
|
@ -613,7 +613,7 @@ if (!function_exists('woocommerce_subcategory_thumbnail')) {
|
||||||
$image = $woocommerce->plugin_url().'/assets/images/placeholder.png';
|
$image = $woocommerce->plugin_url().'/assets/images/placeholder.png';
|
||||||
endif;
|
endif;
|
||||||
|
|
||||||
echo '<img src="'.$image.'" alt="'.$category->slug.'" width="'.$image_width.'" height="'.$image_height.'" />';
|
echo '<img src="'.$image.'" alt="'.$category->name.'" width="'.$image_width.'" height="'.$image_height.'" />';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue