Make WordPress Core

Changeset 29638


Ignore:
Timestamp:
08/27/2014 03:01:25 AM (7 years ago)
Author:
nacin
Message:

Password resets: Use network_site_url() for form actions.

Merges [29631] to the 3.9 branch.

props mdawaffe.
fixes #29156.

Location:
branches/3.9
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/3.9

  • branches/3.9/src/wp-includes/version.php

    r29411 r29638  
    55 * @global string $wp_version
    66 */
    7 $wp_version = '3.9.2-src';
     7$wp_version = '3.9.3-alpha-src';
    88
    99/**
  • branches/3.9/src/wp-login.php

    r29394 r29638  
    524524?>
    525525
    526 <form name="lostpasswordform" id="lostpasswordform" action="<?php echo esc_url( site_url( 'wp-login.php?action=lostpassword', 'login_post' ) ); ?>" method="post">
     526<form name="lostpasswordform" id="lostpasswordform" action="<?php echo esc_url( network_site_url( 'wp-login.php?action=lostpassword', 'login_post' ) ); ?>" method="post">
    527527    <p>
    528528        <label for="user_login" ><?php _e('Username or E-mail:') ?><br />
     
    617617
    618618?>
    619 <form name="resetpassform" id="resetpassform" action="<?php echo esc_url( site_url( 'wp-login.php?action=resetpass', 'login_post' ) ); ?>" method="post" autocomplete="off">
     619<form name="resetpassform" id="resetpassform" action="<?php echo esc_url( network_site_url( 'wp-login.php?action=resetpass', 'login_post' ) ); ?>" method="post" autocomplete="off">
    620620    <input type="hidden" id="user_login" value="<?php echo esc_attr( $rp_login ); ?>" autocomplete="off" />
    621621
Note: See TracChangeset for help on using the changeset viewer.