WordPress.org

Make WordPress Core

Ticket #4516: wp-login-php.diff

File wp-login-php.diff, 3.1 KB (added by jhodgdon, 7 years ago)

Fix for (root level of WP) wp-login.php

  • E:/EclipseWork/WordPressDev/wp-login.php

     
    153153<?php if (get_option('users_can_register')) : ?> 
    154154        <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Login') ?></a></li> 
    155155        <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=register"><?php _e('Register') ?></a></li> 
    156         <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title')); ?></a></li> 
     156        <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), apply_filters( 'bloginfo', get_bloginfo('title'), 'title' )); ?></a></li> 
    157157<?php else : ?> 
    158         <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title')); ?></a></li> 
     158        <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), apply_filters( 'bloginfo', get_bloginfo('title'), 'title' )); ?></a></li> 
    159159        <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Login') ?></a></li> 
    160160<?php endif; ?> 
    161161</ul> 
     
    275275<ul> 
    276276        <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Login') ?></a></li> 
    277277        <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=lostpassword" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a></li> 
    278         <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title')); ?></a></li> 
     278        <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), apply_filters( 'bloginfo', get_bloginfo('title'), 'title' )); ?></a></li> 
    279279</ul> 
    280280 
    281281</body> 
     
    366366<?php if (get_option('users_can_register')) : ?> 
    367367        <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=register"><?php _e('Register') ?></a></li> 
    368368        <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=lostpassword" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a></li> 
    369         <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title')); ?></a></li> 
     369        <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), apply_filters( 'bloginfo', get_bloginfo('title'), 'title' )); ?></a></li> 
    370370<?php else : ?> 
    371         <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title')); ?></a></li> 
     371        <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), apply_filters( 'bloginfo', get_bloginfo('title'), 'title' )); ?></a></li> 
    372372        <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=lostpassword" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a></li> 
    373373<?php endif; ?> 
    374374</ul>