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 af84959 commit 3feda05Copy full SHA for 3feda05
app/code/Magento/Store/view/frontend/templates/switch/languages.phtml
@@ -27,7 +27,7 @@
27
<?php foreach ($block->getStores() as $_lang): ?>
28
<?php if ($_lang->getId() != $block->getCurrentStoreId()): ?>
29
<li class="view-<?= $block->escapeHtml($_lang->getCode()) ?> switcher-option">
30
- <a href="#" data-post='<?= /* @noEscape */ $block->getTargetStorePostData($_lang) ?>'>
+ <a href="<?= $block->escapeUrl($_lang->getCurrentUrl(true)) ?>">
31
<?= $block->escapeHtml($_lang->getName()) ?>
32
</a>
33
</li>
0 commit comments