Changeset 50117 for trunk/src/wp-login.php
- Timestamp:
- 02/01/2021 12:16:47 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-login.php
r49992 r50117 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
Note: See TracChangeset
for help on using the changeset viewer.