Skip to content

Commit 4ebe9bf

Browse files
committed
MAGETWO-57255: Eliminate @escapeNotVerified in Widget Module
- updated the templates
1 parent 6e13b01 commit 4ebe9bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Widget/view/adminhtml/templates/catalog/category/widget/tree.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jQuery(function()
7979
// Add empty node to reset category filter
8080
if(!emptyNodeAdded) {
8181
var empty = Object.clone(_node);
82-
empty.text = '<?php /* @escapeNotVerified */ echo __('None') ?>';
82+
empty.text = '<?php echo $block->escapeJs($block->escapeHtml(__('None'))); ?>';
8383
empty.children = [];
8484
empty.id = 'none';
8585
empty.path = '1/none';

app/code/Magento/Widget/view/adminhtml/templates/instance/edit/layout.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
?>
1212
<fieldset class="fieldset">
13-
<legend class="legend"><span><?php /* @escapeNotVerified */ echo __('Layout Updates') ?></span></legend>
13+
<legend class="legend"><span><?php echo $block->escapeHtml(__('Layout Updates')); ?></span></legend>
1414
<br />
1515
<div class="widget-layout-updates">
1616
<div id="page_group_container"></div>

0 commit comments

Comments
 (0)