Merge pull request #2946 from thenbrent/paypal-log-name

Show accurate log name for PayPal
This commit is contained in:
Mike Jolley 2013-04-12 01:10:41 -07:00
commit 1e33ccb6c8
1 changed files with 1 additions and 1 deletions

View File

@ -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' ) ) ),
)
);