Skip to content

Commit d5d824c

Browse files
author
Michell Brito
committed
MC-16093: Add Privacy Policy Link to Admin footer - added getPrivacypolicyUrl() in order to get url
1 parent 72ca364 commit d5d824c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Backend/view/adminhtml/layout/default.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
<block class="Magento\Backend\Block\Page\Footer" name="version" as="version" />
6363
<block class="Magento\Framework\View\Element\Template" name="privacyPolicy" as="privacyPolicy" template="Magento_Backend::page/privacyPolicy.phtml">
6464
<arguments>
65-
<argument name="privacyPolicy_url" xsi:type="string">https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf</argument>
65+
<argument name="privacypolicy_url" xsi:type="string">https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf</argument>
6666
</arguments>
6767
</block>
6868
<block class="Magento\Framework\View\Element\Template" name="report" as="report" template="Magento_Backend::page/report.phtml">

app/code/Magento/Backend/view/adminhtml/templates/page/privacyPolicy.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88

99
?>
1010

11-
<a class="link-report" href="https://magento.com/sites/default/files/REVISED-MAGENTO-PRIVACY-POLICY.pdf" id="footer_privacy" target="_blank">
11+
<a class="link-report" href="<?= $block->escapeUrl($block->getPrivacypolicyUrl()) ?>" id="footer_privacy" target="_blank">
1212
<?= /* @escapeNotVerified */ __('Privacy Policy | ') ?>
1313
</a>

0 commit comments

Comments
 (0)