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