Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit b9437d0

Browse files
authored
Merge pull request #755 from woocommerce/issue_747
Update checkout buttons separator to be consistent
2 parents 9416618 + e34c697 commit b9437d0

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

assets/css/wc-gateway-ppec-frontend.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
}
99
.wcppec-checkout-buttons__separator {
1010
display: block;
11-
opacity: .5;
1211
margin: 0 0 1em;
1312
}
1413
.wcppec-checkout-buttons__button {

includes/class-wc-gateway-ppec-cart-handler.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,9 +351,7 @@ public function display_paypal_button() {
351351
<div class="wcppec-checkout-buttons woo_pp_cart_buttons_div">
352352

353353
<?php if ( has_action( 'woocommerce_proceed_to_checkout', 'woocommerce_button_proceed_to_checkout' ) ) : ?>
354-
<div class="wcppec-checkout-buttons__separator">
355-
<?php _e( '&mdash; or &mdash;', 'woocommerce-gateway-paypal-express-checkout' ); ?>
356-
</div>
354+
<div class="wcppec-checkout-buttons__separator">&mdash; <?php esc_html_e( 'OR', 'woocommerce-gateway-paypal-express-checkout' ); ?> &mdash;</div>
357355
<?php endif; ?>
358356

359357
<?php if ( 'yes' === $settings->use_spb ) :

0 commit comments

Comments
 (0)