@@ -516,10 +516,10 @@ |
||
| 516 | 516 | } |
| 517 | 517 | |
| 518 | 518 | if ( empty( $private_key ) && false !== \strpos( $field['meta_key'], 'apple_pay' ) ) { |
| 519 | - printf( |
|
| 520 | - '<p class="pronamic-pay-description description">%s</p><p> </p>', |
|
| 521 | - esc_html__( 'Leave empty to auto fill when uploading an Apple Pay Merchant Identity PKCS#12 certificate file.', 'pronamic_ideal' ) |
|
| 522 | - ); |
|
| 519 | + printf( |
|
| 520 | + '<p class="pronamic-pay-description description">%s</p><p> </p>', |
|
| 521 | + esc_html__( 'Leave empty to auto fill when uploading an Apple Pay Merchant Identity PKCS#12 certificate file.', 'pronamic_ideal' ) |
|
| 522 | + ); |
|
| 523 | 523 | } |
| 524 | 524 | |
| 525 | 525 | printf( |
@@ -587,9 +587,9 @@ |
||
| 587 | 587 | |
| 588 | 588 | foreach ( $files as $name => $meta_key ) { |
| 589 | 589 | // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotValidated |
| 590 | - if ( isset( $_FILES[ $name ] ) && \UPLOAD_ERR_OK === $_FILES[ $name ]['error'] ) { |
|
| 590 | + if ( isset( $_FILES[$name] ) && \UPLOAD_ERR_OK === $_FILES[$name]['error'] ) { |
|
| 591 | 591 | // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotValidated, WordPress.Security.ValidatedSanitizedInput.MissingUnslash, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized |
| 592 | - $value = file_get_contents( $_FILES[ $name ]['tmp_name'] ); |
|
| 592 | + $value = file_get_contents( $_FILES[$name]['tmp_name'] ); |
|
| 593 | 593 | |
| 594 | 594 | if ( '_pronamic_gateway_adyen_apple_pay_merchant_id_certificate' === $meta_key ) { |
| 595 | 595 | $apple_pay_merchant_id_pkcs12 = $value; |