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-includes/general-template.php

    r33929 r34213  
    448448
    449449        $form = '
    450                 <form name="' . $args['form_id'] . '" id="' . $args['form_id'] . '" action="' . esc_url( site_url( 'wp-login.php', 'login_post' ) ) . '" method="post">
     450                <form name="' . $args['form_id'] . '" id="' . $args['form_id'] . '" action="' . esc_url( wp_login_url() ) . '" method="post">
    451451                        ' . $login_form_top . '
    452452                        <p class="login-username">
Note: See TracChangeset for help on using the changeset viewer.