Update plugins/woocommerce/includes/admin/class-wc-admin-addons.php

Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
This commit is contained in:
And Finally 2021-11-15 16:33:20 +00:00 committed by GitHub
parent 717317142a
commit 24bafaa74d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -1296,13 +1296,15 @@ class WC_Admin_Addons {
);
?>
</span>
<span class="price-suffix"><?php
<span class="price-suffix">
<?php
$price_suffix = __( 'per year', 'woocommerce' );
if ( ! empty( $mapped->price_suffix ) ) {
$price_suffix = $mapped->price_suffix;
}
echo esc_html( $price_suffix );;
?></span>
echo esc_html( $price_suffix );
?>
</span>
<?php endif; ?>
</div>
<?php if ( ! empty( $mapped->reviews_count ) && ! empty( $mapped->rating ) ) : ?>