Skip to content

Commit ebe998d

Browse files
committed
ACP2E-1602: [Issue] Fixed the welcome message contains single quote character
1 parent 4459e34 commit ebe998d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Theme/Block/Html/Header.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public function getWelcome()
5858
);
5959
}
6060
$this->_data['welcome'] = $this->escaper->escapeQuote($this->_data['welcome'], true);
61+
// phpcs:ignore Magento2.Functions.DiscouragedFunction
6162
return addslashes(__($this->_data['welcome']));
6263
}
6364
}

0 commit comments

Comments
 (0)