Changeset 7031 for branches/2.6/src/includes/users/template.php
- Timestamp:
- 12/13/2019 09:25:05 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.6/src/includes/users/template.php
r6966 r7031 1388 1388 // Check for pending email address change 1389 1389 $user_id = bbp_get_displayed_user_id(); 1390 $key = $user_id .'_new_email';1391 $new_email = get_ option( $key);1390 $key = '_new_email'; 1391 $new_email = get_user_meta( $user_id, $key, true ); 1392 1392 1393 1393 // Bail if no pending email address change … … 1398 1398 // Build the nonced URL to dismiss the pending change 1399 1399 $user_url = bbp_get_user_profile_edit_url( $user_id ); 1400 $nonce = "dismiss-{$ key}";1400 $nonce = "dismiss-{$user_id}{$key}"; 1401 1401 $args = array( 1402 1402 'action' => 'bbp-update-user-email', 1403 'dismiss' => $key1403 'dismiss' => "{$user_id}{$key}" 1404 1404 ); 1405 1405
Note: See TracChangeset
for help on using the changeset viewer.