Making WordPress.org


Ignore:
Timestamp:
04/14/2021 03:12:19 AM (5 years ago)
Author:
dd32
Message:

Login: Use the localised WordPress.org link for when the login is being displayed in a not-english language.

This ensures that any links to privacy policies/etc will be in their preferred language.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/header.php

    r10830 r10898  
    2020
    2121<div id="login">
    22         <h1><a href="<?php /* This mimicks the wp-login.php header */ echo apply_filters( 'login_headerurl', __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php /* This mimicks the wp-login.php header */ _e( 'Powered by WordPress' ); ?></a></h1>
     22        <?php /* The following translation pulls from the WordPress translations, mimicking wp-login.php intentionally for consistency. */ ?>
     23        <h1><a href="<?php echo wporg_login_wordpress_url(); ?>" tabindex="-1"><?php echo translate( 'Powered by WordPress' ); ?></a></h1>
Note: See TracChangeset for help on using the changeset viewer.