Helper: Don't use assignment in helper disconnect check

This commit is contained in:
Konstantin Kovshenin 2017-04-26 18:39:26 +03:00
parent ed734f350d
commit c440994883
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<div class="text">
<img src="https://woocommerce.com/wp-content/themes/woomattic/images/logo-woocommerce@2x.png" alt="WooCommerce" style="width:180px;">
<?php if ( ! empty( $_GET['wc-helper-status'] ) && $_GET['wc-helper-status'] = 'helper-disconnected' ) : ?>
<?php if ( ! empty( $_GET['wc-helper-status'] ) && 'helper-disconnected' === $_GET['wc-helper-status'] ) : ?>
<p><?php _e( '<strong>Sorry to see you go</strong>. Feel free to reconnect again using the button below.', 'woocommerce' ); ?></p>
<?php endif; ?>