Skip to content

Commit 326254d

Browse files
authored
Footer: Link to the specific teams locale page (#703)
The existing footer links to the Polyglots teams page, but it should link to the specific locale teams page instead.
1 parent 855cbd9 commit 326254d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mu-plugins/blocks/global-header-footer/footer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
<?php if ( ! empty( $locale_title ) ) : ?>
139139
<!-- wp:paragraph {"className":"global-footer__wporg-locale-title"} -->
140140
<p class="global-footer__wporg-locale-title">
141-
<a href="https://make.wordpress.org/polyglots/teams/">
141+
<a href="<?php echo esc_url( add_query_arg( 'locale', get_locale(), 'https://make.wordpress.org/polyglots/teams/' ) ); ?>">
142142
<?php echo esc_html( $locale_title ); ?>
143143
</a>
144144
</p>

0 commit comments

Comments
 (0)