mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Do not remove html for plugin settings text inputs
This commit is contained in:
parent
d5823c1254
commit
583d587811
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ class SettingsListener {
|
|||
case 'number':
|
||||
case 'ppcp-text-input':
|
||||
case 'ppcp-password':
|
||||
$settings[ $key ] = isset( $raw_data[ $key ] ) ? sanitize_text_field( $raw_data[ $key ] ) : '';
|
||||
$settings[ $key ] = isset( $raw_data[ $key ] ) ? wp_kses_post( $raw_data[ $key ] ) : '';
|
||||
break;
|
||||
case 'password':
|
||||
if ( empty( $raw_data[ $key ] ) ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue