We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86d99b0 commit ddea4e0Copy full SHA for ddea4e0
app/code/Magento/Checkout/view/frontend/templates/button.phtml
@@ -10,6 +10,8 @@
10
<?php /** @var $block \Magento\Checkout\Block\Onepage\Success */ ?>
11
12
<?php if ($block->getCanViewOrder() && $block->getCanPrintOrder()) :?>
13
- <?= /* @escapeNotVerified */ __('<a href="%1" onclick="this.target=\'_blank\'" class="print">Print receipt</a>', $block->getPrintUrl()) ?>
+ <a href="<?= /* @escapeNotVerified */ $block->getPrintUrl() ?>" target="_blank" class="print">
14
+ <?= /* @escapeNotVerified */ __('Print receipt') ?>
15
+ </a>
16
<?= $block->getChildHtml() ?>
17
<?php endif;?>
0 commit comments