Fixed mime type on product images

This commit is contained in:
Mike Jolley 2011-10-08 19:59:20 +01:00
parent 992fe1849b
commit 7b01aa389e
2 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,8 @@ For further documentation on using WooCommerce, please sign up for free at http:
* Zero tax rate fix * Zero tax rate fix
* Filters for tax rates * Filters for tax rates
* Fixes to find rate function * Fixes to find rate function
* Product dimension fields
* Fixed archives being displayed by woocommerce_show_product_images
= 1.0.3 - 06/10/2011 = = 1.0.3 - 06/10/2011 =
* Several minor fixes/tweaks * Several minor fixes/tweaks

View File

@ -142,6 +142,7 @@ if (!function_exists('woocommerce_show_product_thumbnails')) {
'post_status' => null, 'post_status' => null,
'post_parent' => $post->ID, 'post_parent' => $post->ID,
'post__not_in' => array($thumb_id), 'post__not_in' => array($thumb_id),
'post_mime_type' => 'image',
'meta_query' => array( 'meta_query' => array(
array( array(
'key' => '_woocommerce_exclude_image', 'key' => '_woocommerce_exclude_image',