WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/13/2015 02:02:04 PM (5 years ago)
Author:
swissspidy
Message:

Login: After [34213], use the login_post scheme again for login forms.

See #34925.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r35865 r35897  
    712712    login_header(__('Registration Form'), '<p class="message register">' . __('Register For This Site') . '</p>', $errors);
    713713?>
    714 
    715 <form name="registerform" id="registerform" action="<?php echo esc_url( wp_registration_url() ); ?>" method="post" novalidate="novalidate">
     714<form name="registerform" id="registerform" action="<?php echo esc_url( set_url_scheme( wp_registration_url(), 'login_post' ) ); ?>" method="post" novalidate="novalidate">
    716715    <p>
    717716        <label for="user_login"><?php _e('Username') ?><br />
     
    879878?>
    880879
    881 <form name="loginform" id="loginform" action="<?php echo esc_url( wp_login_url() ); ?>" method="post">
     880<form name="loginform" id="loginform" action="<?php echo esc_url( set_url_scheme( wp_login_url(), 'login_post' ) ); ?>" method="post">
    882881    <p>
    883882        <label for="user_login"><?php _e('Username') ?><br />
Note: See TracChangeset for help on using the changeset viewer.