Make WordPress Core


Ignore:
Timestamp:
09/15/2015 05:10:24 PM (11 years ago)
Author:
johnbillion
Message:

Implement wp_login_url() and wp_registration_url() in places where wp-login.php is currently hard-coded.

See #31495
Props GregLone

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/network.php

    r34023 r34213  
    495495
    496496        if ( !is_multisite() ) { ?>
    497                 <p><?php _e( 'Once you complete these steps, your network is enabled and configured. You will have to log in again.' ); ?> <a href="<?php echo esc_url( site_url( 'wp-login.php' ) ); ?>"><?php _e( 'Log In' ); ?></a></p>
     497                <p><?php _e( 'Once you complete these steps, your network is enabled and configured. You will have to log in again.' ); ?> <a href="<?php echo esc_url( wp_login_url() ); ?>"><?php _e( 'Log In' ); ?></a></p>
    498498<?php
    499499        }
Note: See TracChangeset for help on using the changeset viewer.