diff --git a/src/wp-login.php b/src/wp-login.php
index 915020f717..75c65865d9 100644
a
|
b
|
function login_footer( $input_id = '' ) { |
282 | 282 | // Don't allow interim logins to navigate away from the page. |
283 | 283 | if ( ! $interim_login ) { |
284 | 284 | ?> |
285 | | <p id="backtoblog"><a href="<?php echo esc_url( home_url( '/' ) ); ?>"> |
286 | | <?php |
287 | | |
288 | | /* translators: %s: Site title. */ |
289 | | printf( _x( '← Go to %s', 'site' ), get_bloginfo( 'title', 'display' ) ); |
290 | | |
291 | | ?> |
292 | | </a></p> |
| 285 | <p id="backtoblog"> |
| 286 | <?php |
| 287 | $html_link = sprintf( |
| 288 | '<a href="%s">%s</a>', |
| 289 | esc_url( home_url( '/' ) ), |
| 290 | /* translators: %s: Site title. */ |
| 291 | sprintf( |
| 292 | _x( '← Go to %s', 'site' ), |
| 293 | get_bloginfo( 'title', 'display' ) |
| 294 | ) |
| 295 | ); |
| 296 | /** |
| 297 | * Filter the "Go to site" link displayed in the login page footer. |
| 298 | * |
| 299 | * @since 5.7.0 |
| 300 | * |
| 301 | * @param string $link HTML link to the home URL of the current site. |
| 302 | */ |
| 303 | echo apply_filters( 'login_site_html_link', $html_link ); |
| 304 | ?> |
| 305 | </p> |
293 | 306 | <?php |
294 | 307 | |
295 | 308 | the_privacy_policy_link( '<div class="privacy-policy-page-link">', '</div>' ); |