Skip to content

Commit b0cd4d7

Browse files
committed
Merge branch 'release/v4.4.0' into release/v4.5.0
2 parents 2f9827d + 230a9f1 commit b0cd4d7

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

view/adminhtml/templates/form/ondemand.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ $language = $block->getAdditionalData('language');
7272
name="payment[description]"
7373
title="<?= $escaper->escapeHtmlAttr(__('Description')) ?>"
7474
class="admin__control-text"
75-
maxlength="<?= OndemandHelper::DESCRIPTION_MAX_LENGTH ?>"
75+
maxlength="<?= /* @noEscape */ OndemandHelper::DESCRIPTION_MAX_LENGTH ?>"
7676
><?= /* @noEscape */ $block->getAdditionalData('description') ?></textarea>
7777
</div>
7878
</div>

view/frontend/templates/checkout/formjs.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use Payplug\Payments\Block\Formjs;
1313
*/
1414
?>
1515
<?php foreach ($block->getJsUrls() as $url): ?>
16-
<?= $secureRenderer->renderTag('script', ['src' => $escaper->escapeUrl($url)], '', false); ?>
16+
<?= /* @noEscape */ $secureRenderer->renderTag('script', ['src' => $escaper->escapeUrl($url)], '', false); ?>
1717
<?php endforeach; ?>
1818
<?php $scriptContent = 'window.PAYPLUG_DOMAIN = \'' . $escaper->escapeUrl($block->getPayplugSecureUrl()) . '\';' ?>
19-
<?= $secureRenderer->renderTag('script', [], $scriptContent, false); ?>
19+
<?= /* @noEscape */ $secureRenderer->renderTag('script', [], $scriptContent, false); ?>

view/frontend/templates/product/button-apple-pay.phtml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ use Payplug\Payments\Block\ApplePay\ProductButton;
1818
class="hidden"
1919
data-bind="
2020
click: handleClick,
21-
css: {
22-
'hidden': !isVisible(),
23-
'is-disabled': isDisabled
21+
css: {
22+
'hidden': !isVisible(),
23+
'is-disabled': isDisabled
2424
}
2525
">
2626
</apple-pay-button>
@@ -39,7 +39,7 @@ use Payplug\Payments\Block\ApplePay\ProductButton;
3939
"component" : "Payplug_Payments/js/view/product/button-apple-pay",
4040
"workflowType": "product",
4141
"applePayConfig": <?= /* @noEscape */ $block->getConfigJson(); ?>,
42-
"productFinalPrice": <?= $block->getCurrentProduct()->getFinalPrice(); ?>,
42+
"productFinalPrice": <?= /* @noEscape */ $block->getCurrentProduct()->getFinalPrice(); ?>,
4343
"productIsVirtual": <?= $block->getCurrentProduct()->isVirtual() ? 'true' : 'false'; ?>,
4444
"children": {
4545
"messages": {

0 commit comments

Comments
 (0)