Fixed conditional logic

This commit is contained in:
Claudio Sanches 2019-05-22 20:16:10 -03:00
parent c74d5b30ca
commit 91a8592ebb
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class WC_Site_Tracking {
* `woocommerce_apply_tracking` will be deprecated. Please use
* `woocommerce_apply_user_tracking` instead.
*/
if ( ! apply_filters( 'woocommerce_apply_user_tracking', true ) && ! apply_filters( 'woocommerce_apply_tracking', true ) ) {
if ( ! apply_filters( 'woocommerce_apply_user_tracking', true ) || ! apply_filters( 'woocommerce_apply_tracking', true ) ) {
return false;
}