@@ -219,10 +219,13 @@ |
||
| 219 | 219 | |
| 220 | 220 | <?php esc_html_e( 'A private key and certificate are required for communication with the payment provider. Enter the organization details from the iDEAL account below to generate these required files.', 'pronamic_ideal' ); ?> |
| 221 | 221 | |
| 222 | - <?php else : ?> |
|
| 222 | + <?php else { |
|
| 223 | + : ?> |
|
| 223 | 224 | |
| 224 | 225 | <span |
| 225 | - class="dashicons dashicons-yes"></span> <?php esc_html_e( 'A private key and certificate have been configured. The certificate must be uploaded to the payment provider dashboard to complete configuration.', 'pronamic_ideal' ); ?> |
|
| 226 | + class="dashicons dashicons-yes"></span> <?php esc_html_e( 'A private key and certificate have been configured. The certificate must be uploaded to the payment provider dashboard to complete configuration.', 'pronamic_ideal' ); |
|
| 227 | +} |
|
| 228 | +?> |
|
| 226 | 229 | <br/> |
| 227 | 230 | |
| 228 | 231 | <br/> |
@@ -452,10 +452,10 @@ |
||
| 452 | 452 | ); |
| 453 | 453 | |
| 454 | 454 | foreach ( $files as $name => $meta_key ) { |
| 455 | - if ( isset( $_FILES[ $name ] ) && UPLOAD_ERR_OK === $_FILES[ $name ]['error'] ) { // WPCS: input var okay. |
|
| 456 | - $value = file_get_contents( $_FILES[ $name ]['tmp_name'] ); // WPCS: input var okay. // WPCS: sanitization ok. |
|
| 455 | + if ( isset( $_FILES[$name] ) && UPLOAD_ERR_OK === $_FILES[$name]['error'] ) { // WPCS: input var okay. |
|
| 456 | + $value = file_get_contents( $_FILES[$name]['tmp_name'] ); // WPCS: input var okay. // WPCS: sanitization ok. |
|
| 457 | 457 | |
| 458 | - $data[ $meta_key ] = $value; |
|
| 458 | + $data[$meta_key] = $value; |
|
| 459 | 459 | } |
| 460 | 460 | } |
| 461 | 461 | |
@@ -74,7 +74,7 @@ |
||
| 74 | 74 | $issuers = array(); |
| 75 | 75 | |
| 76 | 76 | foreach ( $country->get_issuers() as $issuer ) { |
| 77 | - $issuers[ $issuer->get_id() ] = $issuer->get_name(); |
|
| 77 | + $issuers[$issuer->get_id()] = $issuer->get_name(); |
|
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | $groups[] = array( |