Changeset 44069 for branches/4.0/src/wp-activate.php
- Timestamp:
- 12/13/2018 01:55:22 AM (6 years ago)
- Location:
- branches/4.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.0
-
branches/4.0/src/wp-activate.php
r44037 r44069 27 27 $result = null; 28 28 29 if ( ! empty( $_GET['key'] ) ) { 29 if ( isset( $_GET['key'] ) && isset( $_POST['key'] ) && $_GET['key'] !== $_POST['key'] ) { 30 wp_die( __( 'A key value mismatch has been detected. Please follow the link provided in your activation email.' ), __( 'An error occurred during the activation' ), 400 ); 31 } elseif ( ! empty( $_GET['key'] ) ) { 30 32 $key = $_GET['key']; 31 33 } elseif ( ! empty( $_POST['key'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.