This commit is contained in:
Gerhard 2021-10-13 17:59:41 +02:00
parent ad9c99b393
commit d5c3d6da86
No known key found for this signature in database
GPG Key ID: 147F2060AE23A9A8
1 changed files with 2 additions and 2 deletions

View File

@ -776,7 +776,7 @@ class WC_Admin_Addons {
if ( ! WC()->is_wc_admin_active() ) {
$promotions = array();
}
// Check for existance of promotions and evaluate out if we should show them.
// Check for existence of promotions and evaluate out if we should show them.
if ( ! empty( $promotions ) ) {
foreach ( $promotions as $promo_id => $promotion ) {
$evaluator = new PromotionRuleEngine\RuleEvaluator();
@ -785,7 +785,7 @@ class WC_Admin_Addons {
unset( $promotions[ $promo_id ] );
}
}
// Tranform promotions to correct format ready for output.
// Transform promotions to the correct format ready for output.
$promotions = self::format_promotions( $promotions );
}