Skip to content

Commit dcbfedb

Browse files
Merge branch 'release/3.5.0'
2 parents e4cba5e + 73aff5b commit dcbfedb

34 files changed

+19481
-14247
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "bin/wp-bin"]
22
path = bin/wp-bin
3-
url = https://github.com/bigboxwc/wp-bin.git
3+
url = git@github.com:bigboxwc/wp-bin.git

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
## [3.5.0] - 2020-01-27
2+
3+
### New
4+
5+
- WooCommerce 3.9.0 support.
6+
7+
### Dev
8+
9+
- Use `@wordpress/scripts` package.
10+
11+
## [3.4.0] - 2019-08-08
12+
13+
### New
14+
15+
- Use a custom horizontal scrollbar for horizontal menu overflow.
16+
- Enhanced block editor support for WooCommerce product blocks.
17+
- Improved Stripe payment gateway errors.
18+
19+
### Fix
20+
21+
- Ensure CSS `url()` imports are handled correctly.
22+
123
## [3.3.0] - 2019-08-03
224

325
### New

app/customize/output/color-gray-200.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
'.offcanvas-drawer__close',
2727
'.page-title',
2828
'.product__inner',
29+
'.wc-block-grid__product',
2930
'.widget',
3031
'.woocommerce-MyAccount-navigation:after',
3132
'.woocommerce-single-product-data__section',

app/customize/output/type.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@
9999
'.action-list__item-label',
100100
'.widget-title',
101101
'.product-title',
102+
'.wc-block-grid .wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-title',
102103
'.woocommerce-terms-and-conditions-text',
103104
'.product-category-more__inner',
104105
'.woocommerce-loop-category__title',

app/customize/selector-functions.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ function( $selector ) use ( $state ) {
4141
function bigbox_customize_get_button_selectors() {
4242
return [
4343
'.button',
44-
'button',
4544
'.widget_layered_nav_filters a',
4645
'.woocommerce-notice-list__item .woocommerce-Button',
4746
'.woocommerce-notice-list__item .wc-forward',
@@ -52,6 +51,7 @@ function bigbox_customize_get_button_selectors() {
5251
'.facetwp-facet .facetwp-autocomplete-update',
5352
'.facetwp-facet .facetwp-slider-reset',
5453
'.comment-form [type="submit"]',
54+
'.wc-block-grid .wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-add-to-cart a:not(.added_to_cart)',
5555
];
5656
}
5757

@@ -71,6 +71,7 @@ function bigbox_customize_get_button_success_selectors() {
7171
'.woocommerce-Button.button',
7272
'.woocommerce-form-coupon [name="apply_coupon"]',
7373
'.woocommerce-notice-list__item .wc-forward',
74+
'.wc-block-grid .wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-add-to-cart .added_to_cart',
7475
];
7576
}
7677

app/integrations/facetwp/template-functions.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ function bigbox_facetwp_wp_enqueue_scripts() {
2424

2525
$deps = [
2626
$stylesheet,
27+
( $stylesheet . '-simplebar' ),
2728
'jquery',
2829
];
2930

app/integrations/gutenberg/class-gutenberg.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,17 @@ public function inline_editor_css( $settings ) {
252252
$css->add( $config[ $x ] );
253253
}
254254

255+
$css = $css->build();
256+
257+
/** */
258+
$inline_css = apply_filters( 'bigbox_customize_css_inline', true );
259+
260+
if ( $inline_css ) {
261+
$css .= bigbox_customize_inline_css();
262+
}
263+
255264
$settings['styles'][] = [
256-
'css' => $css->build(),
265+
'css' => $css,
257266
];
258267

259268
return $settings;

app/integrations/woocommerce/template-functions.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ function bigbox_woocommerce_wp_enqueue_scripts() {
4040

4141
$deps = [
4242
$stylesheet,
43+
( $stylesheet . '-simplebar' ),
4344
'wp-util',
4445
'woocommerce',
4546
];

app/integrations/woocommerce/wc-template-functions.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ function woocommerce_output_product_categories( $args = [] ) {
7878
if ( $total > 5 ) {
7979
$product_categories = array_slice( $product_categories, 0, 5 );
8080
}
81+
8182
// End modification.
8283
if ( ! $product_categories ) {
8384
return false;

app/nux/class-setup-guide.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public function add_menu_item() {
133133
'edit_theme_options',
134134
'bigbox',
135135
[ $this, 'output_page' ],
136-
'dashicons-store'
136+
90
137137
);
138138
}
139139

0 commit comments

Comments
 (0)