Skip to content

Commit 7766106

Browse files
Merge pull request #84 from bigboxwc/release/1.15.1
release/1.15.1
2 parents 1c2add7 + 23bf05a commit 7766106

File tree

6 files changed

+15
-6
lines changed

6 files changed

+15
-6
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [1.15.1] - 2018-10-12
2+
3+
### Fix
4+
5+
- Undefined PHP variables.
6+
- Better UI feedback when checking and unchecking inputs in FacetWP.
7+
18
## [1.15.0] - 2018-10-12
29

310
### New

app/integrations/woocommerce/templates/loop/no-products-found.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@
2525

2626
<<?php echo esc_attr( $html_tag ); ?> class="woocommerce-info">
2727
<?php esc_html_e( 'No products were found matching your selection.', 'bigbox' ); ?>
28-
</<?php echo esc_attr( $tag ); ?>>
28+
</<?php echo esc_attr( $html_tag ); ?>>

app/integrations/woocommerce/templates/order/order-details.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222

2323
$wc_order = wc_get_order( $order_id );
2424

25-
if ( ! $order ) :
25+
if ( ! $wc_order ) :
2626
return;
2727
endif;
2828

2929
$order_items = $wc_order->get_items( apply_filters( 'woocommerce_purchase_order_item_types', 'line_item' ) );
3030
$show_purchase_note = $wc_order->has_status( apply_filters( 'woocommerce_purchase_note_order_statuses', [ 'completed', 'processing' ] ) );
31-
$show_customer_details = is_user_logged_in() && $order->get_user_id() === get_current_user_id();
31+
$show_customer_details = is_user_logged_in() && $wc_order->get_user_id() === get_current_user_id();
3232
$downloads = $wc_order->get_downloadable_items();
3333
$show_downloads = $wc_order->has_downloadable_item() && $wc_order->is_download_permitted();
3434
?>

app/integrations/woocommerce/templates/single-product/tabs/tabs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
*/
3030
$wc_tabs = apply_filters( 'woocommerce_product_tabs', [] );
3131

32-
if ( ! empty( $tabs ) ) : ?>
32+
if ( ! empty( $wc_tabs ) ) : ?>
3333

3434
<div class="woocommerce-single-product-data">
3535

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"title": "BigBox",
44
"author": "Spencer Finnell",
55
"description": "Easily manage and scale WooCommerce product catalogs.",
6-
"version": "1.15.0",
6+
"version": "1.15.1",
77
"license": "GPL-2.0-or-later",
88
"main": "webpack.config.js",
99
"engines": {

resources/assets/js/facetwp/choices.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ $document.on( 'facetwp-loaded', () => {
3636
return;
3737
}
3838

39-
input.checked = ! input.getAttribute( 'checked' );
39+
const foundInput = wrapper.querySelector( 'input' );
40+
41+
foundInput.checked = ! foundInput.checked;
4042
} );
4143
} );
4244
} );

0 commit comments

Comments
 (0)