Changeset 64228 for trunk/src/wp-includes/user.php
- Timestamp:
- 10/07/2026 01:40:25 PM (8 hours ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/user.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r64163 r64228 4018 4018 global $pagenow; 4019 4019 4020 if ( 'profile.php' === $pagenow && isset( $_GET['updated'] ) ) { 4021 $email = get_user_meta( get_current_user_id(), '_new_email', true ); 4020 if ( 'profile.php' === $pagenow ) { 4021 $current_user_id = get_current_user_id(); 4022 $email = get_user_meta( $current_user_id, '_new_email', true ); 4022 4023 if ( $email ) { 4023 4024 $message = sprintf( … … 4025 4026 __( 'Your email address has not been updated yet. Please check your inbox at %s for a confirmation email.' ), 4026 4027 '<code>' . esc_html( $email['newemail'] ) . '</code>' 4028 ); 4029 $message .= sprintf( 4030 ' <a href="%1$s">%2$s</a>', 4031 esc_url( wp_nonce_url( self_admin_url( 'profile.php?dismiss=' . $current_user_id . '_new_email' ), 'dismiss-' . $current_user_id . '_new_email' ) ), 4032 _x( 'Cancel request', 'user email change' ), 4027 4033 ); 4028 4034 wp_admin_notice( $message, array( 'type' => 'info' ) );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)