Fixed category filter in admin. Closes #82.
This commit is contained in:
parent
bfc9ad433e
commit
47a0453020
|
@ -307,6 +307,8 @@ function woocommerce_products_by_category() {
|
|||
foreach($terms as $term) :
|
||||
if ( isset( $wp_query->query['product_cat'] ) ) :
|
||||
$output .="<option value='$term->slug' ".selected($term->slug, $wp_query->query['product_cat'], false).">$term->name ($term->count)</option>";
|
||||
else :
|
||||
$output .="<option value='$term->slug'>$term->name ($term->count)</option>";
|
||||
endif;
|
||||
endforeach;
|
||||
$output .="</select>";
|
||||
|
|
|
@ -62,6 +62,7 @@ For further documentation on using WooCommerce, please sign up for free at http:
|
|||
* Coupons can be applied to variations (by ID)
|
||||
* Fixed up/cross-sell removal
|
||||
* Fixed image (zoom) URL after variation selection
|
||||
* Fixed category filter in admin
|
||||
|
||||
= 1.1.1 - 16/10/2011 =
|
||||
* Products need a base, regardless of category settings - added base to prevent pages breaking
|
||||
|
|
Loading…
Reference in New Issue