|
@@ -441,7 +441,7 @@ discard block |
|
|
block discarded – undo |
|
441
|
441
|
|
|
442
|
442
|
$signature = Security::create_signature( $data, $this->get_secret_key() ); |
|
443
|
443
|
|
|
444
|
|
- $data[ Parameters::SIGNATURE ] = $signature; |
|
|
444
|
+ $data[Parameters::SIGNATURE] = $signature; |
|
445
|
445
|
|
|
446
|
446
|
$result = wp_remote_post( |
|
447
|
447
|
$url, |
|
@@ -503,7 +503,7 @@ discard block |
|
|
block discarded – undo |
|
503
|
503
|
} |
|
504
|
504
|
|
|
505
|
505
|
foreach ( $parameter['LISTITEMDESCRIPTION'] as $issuer ) { |
|
506
|
|
- $issuers[ $issuer['VALUE'] ] = $issuer['DESCRIPTION']; |
|
|
506
|
+ $issuers[$issuer['VALUE']] = $issuer['DESCRIPTION']; |
|
507
|
507
|
} |
|
508
|
508
|
|
|
509
|
509
|
break; |
|
@@ -524,7 +524,7 @@ discard block |
|
|
block discarded – undo |
|
524
|
524
|
// Description with HTML entities such as `&` decoded into `&`, to prevent invalid signature. |
|
525
|
525
|
$description = $this->get_description(); |
|
526
|
526
|
|
|
527
|
|
- $description = html_entity_decode( $description ); |
|
|
527
|
+ $description = html_entity_decode( $description ); |
|
528
|
528
|
|
|
529
|
529
|
// Data. |
|
530
|
530
|
$data = array( |
|
@@ -549,7 +549,7 @@ discard block |
|
|
block discarded – undo |
|
549
|
549
|
|
|
550
|
550
|
$signature = Security::create_signature( $data, $this->get_secret_key() ); |
|
551
|
551
|
|
|
552
|
|
- $data[ Parameters::SIGNATURE ] = $signature; |
|
|
552
|
+ $data[Parameters::SIGNATURE] = $signature; |
|
553
|
553
|
|
|
554
|
554
|
return $data; |
|
555
|
555
|
} |
Please login to merge, or discard this patch.