mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Merge pull request #2188 from woocommerce/PCP-2961-data-partner-attribution-id-missing-on-block-cart-checkout-pages
Set the 'Woo_PPCP' as a default value for `data-partner-attribution-id` (2961)
This commit is contained in:
commit
0bbb0c6bd6
1 changed files with 1 additions and 1 deletions
|
@ -1506,7 +1506,7 @@ document.querySelector("#payment").before(document.querySelector(".ppcp-messages
|
|||
private function bn_code_for_context( string $context ): string {
|
||||
|
||||
$codes = $this->bn_codes();
|
||||
return ( isset( $codes[ $context ] ) ) ? $codes[ $context ] : '';
|
||||
return ( isset( $codes[ $context ] ) ) ? $codes[ $context ] : 'Woo_PPCP';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue