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 07e51ce commit 4346564Copy full SHA for 4346564
app/code/Magento/Theme/Block/Html/Header.php
@@ -34,7 +34,7 @@ public function getWelcome()
34
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
35
);
36
}
37
- $this->_data['welcome'] = str_replace("'", "\'", $this->_data['welcome']);
+ $this->_data['welcome'] = addslashes($this->_data['welcome']);
38
return __($this->_data['welcome']);
39
40
0 commit comments