mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Fix phpcs
Some checks are pending
CI / PHP 7.4 (push) Waiting to run
CI / PHP 8.0 (push) Waiting to run
CI / PHP 8.1 (push) Waiting to run
CI / PHP 8.2 (push) Waiting to run
CI / PHP 8.3 (push) Waiting to run
CI / PHP 8.4 (push) Waiting to run
PR Playground Demo / prepare_version (push) Waiting to run
PR Playground Demo / build_plugin (push) Blocked by required conditions
PR Playground Demo / create_archive (push) Blocked by required conditions
PR Playground Demo / Comment on PR with Playground details (push) Blocked by required conditions
Some checks are pending
CI / PHP 7.4 (push) Waiting to run
CI / PHP 8.0 (push) Waiting to run
CI / PHP 8.1 (push) Waiting to run
CI / PHP 8.2 (push) Waiting to run
CI / PHP 8.3 (push) Waiting to run
CI / PHP 8.4 (push) Waiting to run
PR Playground Demo / prepare_version (push) Waiting to run
PR Playground Demo / build_plugin (push) Blocked by required conditions
PR Playground Demo / create_archive (push) Blocked by required conditions
PR Playground Demo / Comment on PR with Playground details (push) Blocked by required conditions
This commit is contained in:
parent
c92969e0d4
commit
58e6f3beb7
2 changed files with 6 additions and 6 deletions
|
@ -375,7 +375,7 @@ class ButtonModule implements ServiceModule, ExtendingModule, ExecutableModule {
|
|||
*/
|
||||
add_filter(
|
||||
'woocommerce_order_received_verify_known_shoppers',
|
||||
static function( $result ) {
|
||||
static function ( $result ) {
|
||||
if ( ! is_order_received_page() ) {
|
||||
return $result;
|
||||
}
|
||||
|
@ -417,8 +417,8 @@ class ButtonModule implements ServiceModule, ExtendingModule, ExecutableModule {
|
|||
add_filter(
|
||||
'woocommerce_order_email_verification_required',
|
||||
static function (
|
||||
$email_verification_required,
|
||||
$order
|
||||
$email_verification_required,
|
||||
$order
|
||||
) {
|
||||
if ( ! $order instanceof WC_Order ) {
|
||||
return $email_verification_required;
|
||||
|
|
|
@ -244,13 +244,13 @@ class TodosDefinition {
|
|||
),
|
||||
'priority' => 14,
|
||||
),
|
||||
'pay_later_messaging_is_auto_enabled' => array(
|
||||
'pay_later_messaging_is_auto_enabled' => array(
|
||||
'title' => __( 'PayPal Pay Later messaging successfully enabled', 'woocommerce-paypal-payments' ),
|
||||
'description' => __( 'PayPal is now displaying this flexible payment option earlier in the shopping experience. This update was made based on your “Stay Updated” preference and the messaging can be customized or disabled through the Pay Later settings.', 'woocommerce-paypal-payments' ),
|
||||
'isEligible' => $eligibility_checks['pay_later_messaging_is_auto_enabled'],
|
||||
'action' => array(
|
||||
'type' => 'tab',
|
||||
'tab' => 'pay_later_messaging',
|
||||
'type' => 'tab',
|
||||
'tab' => 'pay_later_messaging',
|
||||
),
|
||||
'priority' => 15,
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue