Skip to content

Commit 25f71d9

Browse files
committed
Merge remote-tracking branch 'origin/MC-18467' into 2.2-develop-pr105
# Conflicts: # app/code/Magento/Vault/view/frontend/templates/cards_list.phtml
2 parents 5b2eaff + 871c571 commit 25f71d9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

app/code/Magento/Bundle/view/frontend/templates/catalog/product/view/type/bundle/options.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ $options = $block->decorateArray($block->getOptions($stripSelection));
2626
</script>
2727
<fieldset class="fieldset fieldset-bundle-options">
2828
<legend id="customizeTitle" class="legend title">
29-
<span><?=/* @noEscape */ __('Customize %1', $helper->productAttribute($product, $product->getName(), 'name')) ?></span>
29+
<span><?= $block->escapeHtml(__('Customize %1', $helper->productAttribute($product, $product->getName(), 'name'))) ?></span>
3030
</legend><br />
3131
<?= $block->getChildHtml('product_info_bundle_options_top') ?>
3232
<?php foreach ($options as $option) : ?>

app/code/Magento/Catalog/view/frontend/templates/product/gallery.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
id="product-gallery-image"
3838
class="image"
3939
data-mage-init='{"catalogGallery":{}}'/>
40-
<div class="buttons-set"><a href="#" class="button" role="close-window"><span><?= /* @noEscape */ __('Close Window') ?></span></a></div>
40+
<div class="buttons-set"><a href="#" class="button" role="close-window"><span><?= $block->escapeHtml(__('Close Window')) ?></span></a></div>
4141
<?php if ($block->getPreviousImageUrl() || $block->getNextImageUrl()) :?>
4242
<div class="nav">
4343
<?php if ($_prevUrl = $block->getPreviousImageUrl()) :?>

app/code/Magento/Downloadable/view/adminhtml/templates/product/edit/downloadable.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ var uploaderTemplate = '<div class="no-display" id="[[idName]]-template">' +
208208
<input type="checkbox" data-action="change-type-product-downloadable" class="admin__control-checkbox"
209209
name="is_downloadable" id="is-downloaodable" <?= $block->isDownloadable() ? 'checked="checked"' : ''?> />
210210
<label class="admin__field-label" for="is-downloaodable">
211-
<span><?= /* @noEscape */ __('Is this a downloadable Product?'); ?></span>
211+
<span><?= $block->escapeHtml(__('Is this a downloadable Product?')); ?></span>
212212
</label>
213213
</div>
214214
<div class="entry-edit" id="product_info_tabs_downloadable_items">

app/code/Magento/Downloadable/view/adminhtml/templates/product/edit/downloadable/samples.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ $block->getConfigJson();
4949
</table>
5050
</div>
5151
<div class="admin__field-note">
52-
<?= /* @noEscape */ __('Alphanumeric, dash and underscore characters are recommended for filenames. Improper characters are replaced with \'_\'.') ?>
52+
<?= $block->escapeHtml(__('Alphanumeric, dash and underscore characters are recommended for filenames. Improper characters are replaced with \'_\'.')) ?>
5353
</div>
5454
</div>
5555
</div>

0 commit comments

Comments
 (0)