|
@@ -595,9 +595,9 @@ |
|
|
block discarded – undo |
|
595
|
595
|
|
|
596
|
596
|
foreach ( $files as $name => $meta_key ) { |
|
597
|
597
|
// phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotValidated |
|
598
|
|
- if ( isset( $_FILES[ $name ] ) && \UPLOAD_ERR_OK === $_FILES[ $name ]['error'] ) { |
|
|
598
|
+ if ( isset( $_FILES[$name] ) && \UPLOAD_ERR_OK === $_FILES[$name]['error'] ) { |
|
599
|
599
|
// phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotValidated, WordPress.Security.ValidatedSanitizedInput.MissingUnslash, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized, WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents |
|
600
|
|
- $value = file_get_contents( $_FILES[ $name ]['tmp_name'] ); |
|
|
600
|
+ $value = file_get_contents( $_FILES[$name]['tmp_name'] ); |
|
601
|
601
|
|
|
602
|
602
|
if ( '_pronamic_gateway_adyen_apple_pay_merchant_id_certificate' === $meta_key ) { |
|
603
|
603
|
$apple_pay_merchant_id_pkcs12 = $value; |
Please login to merge, or discard this patch.