Merge pull request #2946 from thenbrent/paypal-log-name
Show accurate log name for PayPal
This commit is contained in:
commit
1e33ccb6c8
|
@ -210,7 +210,7 @@ class WC_Gateway_Paypal extends WC_Payment_Gateway {
|
|||
'type' => 'checkbox',
|
||||
'label' => __( 'Enable logging', 'woocommerce' ),
|
||||
'default' => 'no',
|
||||
'description' => __( 'Log PayPal events, such as IPN requests, inside <code>woocommerce/logs/paypal.txt</code>' ),
|
||||
'description' => sprintf( __( 'Log PayPal events, such as IPN requests, inside <code>woocommerce/logs/paypal-%s.txt</code>' ), sanitize_file_name( wp_hash( 'paypal' ) ) ),
|
||||
)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue