Changeset 30420 for branches/3.8
- Timestamp:
- 11/20/2014 12:24:15 PM (10 years ago)
- Location:
- branches/3.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.8
-
branches/3.8/src/wp-login.php
r29639 r30420 576 576 list( $rp_login, $rp_key ) = explode( ':', wp_unslash( $_COOKIE[ $rp_cookie ] ), 2 ); 577 577 $user = check_password_reset_key( $rp_key, $rp_login ); 578 if ( isset( $_POST['pass1'] ) && ! hash_equals( $rp_key, $_POST['rp_key'] ) ) { 579 $user = false; 580 } 578 581 } else { 579 582 $user = false; … … 634 637 635 638 <br class="clear" /> 639 <input type="hidden" name="rp_key" value="<?php echo esc_attr( $rp_key ); ?>" /> 636 640 <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="<?php esc_attr_e('Reset Password'); ?>" /></p> 637 641 </form>
Note: See TracChangeset
for help on using the changeset viewer.