@@ -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( |