|
@@ -587,9 +587,9 @@ |
|
|
block discarded – undo |
|
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; |
Please login to merge, or discard this patch.