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 3888d20 commit ca13647Copy full SHA for ca13647
app/code/Magento/Theme/Block/Html/Header.php
@@ -57,8 +57,6 @@ public function getWelcome()
57
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
58
);
59
}
60
- $this->_data['welcome'] = $this->escaper->escapeQuote($this->_data['welcome'], true);
61
- // phpcs:ignore Magento2.Functions.DiscouragedFunction
62
- return addslashes(__($this->_data['welcome']));
+ $this->escaper->escapeQuote(__($this->_data['welcome'])->render(), true);
63
64
0 commit comments