Skip to content

Commit ed10519

Browse files
Merge pull request #85 from bigboxwc/release/1.15.2
release/1.15.2
2 parents d5f833d + 8db8937 commit ed10519

File tree

7 files changed

+17
-15
lines changed

7 files changed

+17
-15
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [1.15.2] - 2018-10-12
2+
3+
### Fix
4+
5+
- WooCommerce 3.5 compatibility.
6+
17
## [1.15.1] - 2018-10-12
28

39
### Fix

app/integrations/woocommerce/templates/cart/cart.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,13 @@
1313
* @see https://docs.woocommerce.com/document/template-structure/
1414
* @author WooThemes
1515
* @package WooCommerce/Templates
16-
* @version 3.4.0
16+
* @version 3.5.0
1717
*/
1818

1919
if ( ! defined( 'ABSPATH' ) ) {
2020
exit;
2121
}
2222

23-
wc_print_notices();
24-
2523
do_action( 'woocommerce_before_cart' ); ?>
2624

2725
<form id="bigbox-cart" class="woocommerce-cart-form" action="<?php echo esc_url( wc_get_cart_url() ); ?>" method="post">

app/integrations/woocommerce/templates/checkout/form-checkout.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* @see https://docs.woocommerce.com/document/template-structure/
1414
* @author WooThemes
1515
* @package WooCommerce/Templates
16-
* @version 2.3.0
16+
* @version 3.5.0
1717
*/
1818

1919
if ( ! defined( 'ABSPATH' ) ) {
@@ -38,8 +38,6 @@ class="checkout woocommerce-checkout"
3838
enctype="multipart/form-data"
3939
>
4040

41-
<?php wc_print_notices(); ?>
42-
4341
<div class="woocommerce-checkout__info">
4442
<?php if ( $checkout->get_checkout_fields() ) : ?>
4543

app/integrations/woocommerce/templates/checkout/payment-method.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* @see https://docs.woocommerce.com/document/template-structure/
1414
* @author WooThemes
1515
* @package WooCommerce/Templates
16-
* @version 2.3.0
16+
* @version 3.5.0
1717
*/
1818

1919
if ( ! defined( 'ABSPATH' ) ) {

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* @see https://docs.woocommerce.com/document/template-structure/
1414
* @author WooThemes
1515
* @package WooCommerce/Templates
16-
* @version 3.2.0
16+
* @version 3.5.0
1717
*/
1818

1919
if ( ! defined( 'ABSPATH' ) ) {
@@ -84,9 +84,9 @@
8484
'comment_notes_after' => '',
8585
'fields' => [
8686
'author' => '<p class="comment-form-author"><label for="author">' . esc_html__( 'Name', 'bigbox' ) . ' <span class="required">*</span></label> ' .
87-
'<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30" aria-required="true" required /></p>',
87+
'<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30" required /></p>',
8888
'email' => '<p class="comment-form-email"><label for="email">' . esc_html__( 'Email', 'bigbox' ) . ' <span class="required">*</span></label> ' .
89-
'<input id="email" name="email" type="email" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30" aria-required="true" required /></p>',
89+
'<input id="email" name="email" type="email" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30" required /></p>',
9090
],
9191
'label_submit' => esc_html__( 'Submit Review', 'bigbox' ),
9292
'logged_in_as' => '',
@@ -101,7 +101,7 @@
101101
}
102102

103103
if ( get_option( 'woocommerce_enable_review_rating' ) === 'yes' ) {
104-
$comment_form['comment_field'] = '<div class="comment-form-rating"><label for="rating">' . esc_html__( 'Your rating', 'bigbox' ) . '</label><select name="rating" id="rating" aria-required="true" required>
104+
$comment_form['comment_field'] = '<div class="comment-form-rating"><label for="rating">' . esc_html__( 'Your rating', 'bigbox' ) . '</label><select name="rating" id="rating" required>
105105
<option value="">' . esc_html__( 'Rate&hellip;', 'bigbox' ) . '</option>
106106
<option value="5">' . esc_html__( 'Perfect', 'bigbox' ) . '</option>
107107
<option value="4">' . esc_html__( 'Good', 'bigbox' ) . '</option>
@@ -111,7 +111,7 @@
111111
</select></div>';
112112
}
113113

114-
$comment_form['comment_field'] .= '<p class="comment-form-comment"><label for="comment">' . esc_html__( 'Your review', 'bigbox' ) . ' <span class="required">*</span></label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true" required></textarea></p>';
114+
$comment_form['comment_field'] .= '<p class="comment-form-comment"><label for="comment">' . esc_html__( 'Your review', 'bigbox' ) . ' <span class="required">*</span></label><textarea id="comment" name="comment" cols="45" rows="8" required></textarea></p>';
115115

116116
comment_form( apply_filters( 'woocommerce_product_review_comment_form_args', $comment_form ) );
117117
?>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* @see https://docs.woocommerce.com/document/template-structure/
1414
* @author WooThemes
1515
* @package WooCommerce/Templates
16-
* @version 3.3.2
16+
* @version 3.5.0
1717
*/
1818

1919
defined( 'ABSPATH' ) || exit;
@@ -50,7 +50,7 @@
5050
$html = wc_get_gallery_image_html( $product->get_image_id(), true );
5151
} else {
5252
$html = '<div class="woocommerce-product-gallery__image--placeholder">';
53-
$html .= sprintf( '<img src="%s" alt="%s" class="wp-post-image" />', esc_url( wc_placeholder_img_src() ), esc_html__( 'Awaiting product image', 'bigbox' ) );
53+
$html .= sprintf( '<img src="%s" alt="%s" class="wp-post-image" />', esc_url( wc_placeholder_img_src( 'woocommerce_single' ) ), esc_html__( 'Awaiting product image', 'bigbox' ) );
5454
$html .= '</div>';
5555
}
5656

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.1",
6+
"version": "1.15.2",
77
"license": "GPL-2.0-or-later",
88
"main": "webpack.config.js",
99
"engines": {

0 commit comments

Comments
 (0)