File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
app/code/Magento/OrderCancellationUi/view/frontend/templates Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 44 * All Rights Reserved.
55 */
66?>
7+ <?php
8+ /** @var $escaper Magento\Framework\Escaper */
9+ ?>
710<div id="cancel-order-modal-<?= /* @noEscape */ $ block ->getOrder ()->getId () ?> ">
811 <div class="modal-body-content">
9- <h3><?= $ block ->escapeHtml (__ ('Cancel order ' )) ?>
12+ <h3><?= $ escaper ->escapeHtml (__ ('Cancel order ' )) ?>
1013 <span class="cancel-order-id"><?= /* @noEscape */ $ block ->getOrder ()->getRealOrderId () ?> </span>
1114 </h3>
12- <p><?= $ block ->escapeHtml (__ ('Provide a cancellation reason: ' )) ?> </p>
15+ <p><?= $ escaper ->escapeHtml (__ ('Provide a cancellation reason: ' )) ?> </p>
1316 <form>
1417 <select id="cancel-order-reason-<?= /* @noEscape */ $ block ->getOrder ()->getId () ?> "
1518 class="cancel-order-reason" name="reason">
1619 <?php foreach ($ block ->getReasons () as $ key => $ description ): ?>
17- <option value="<?= $ block ->escapeHtml (__ ($ description )) ?> ">
18- <?= $ block ->escapeHtml (__ ($ description )) ?>
20+ <option value="<?= $ escaper ->escapeHtml (__ ($ description )) ?> ">
21+ <?= $ escaper ->escapeHtml (__ ($ description )) ?>
1922 </option>
2023 <?php endforeach ; ?>
2124 </select>
You can’t perform that action at this time.
0 commit comments