Changeset 64239
- Timestamp:
- 10/08/2026 09:31:43 AM (31 hours ago)
- Location:
- trunk
- Files:
-
- 1 added
- 2 edited
-
src/wp-admin/includes/ms-admin-filters.php (modified) (1 diff)
-
src/wp-includes/user.php (modified) (2 diffs)
-
tests/phpunit/tests/user/newUserEmailAdminNotice.php (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ms-admin-filters.php
r54240 r64239 12 12 13 13 // User hooks. 14 add_action( 'user_admin_notices', 'new_user_email_admin_notice' );15 add_action( 'network_admin_notices', 'new_user_email_admin_notice' );16 17 14 add_action( 'admin_page_access_denied', '_access_denied_splash', 99 ); 18 15 -
trunk/src/wp-includes/user.php
r64228 r64239 4012 4012 * @since 3.0.0 4013 4013 * @since 4.9.0 This function was moved from wp-admin/includes/ms.php so it's no longer Multisite specific. 4014 * @since 7.2.0 The notice is displayed whenever an email change is pending, not only after updating 4015 * the profile, and includes a link to cancel the request. The function is no longer 4016 * hooked to the `admin_notices`, `user_admin_notices`, and `network_admin_notices` 4017 * actions, and is instead called directly from wp-admin/user-edit.php. 4014 4018 * 4015 4019 * @global string $pagenow The filename of the current screen. … … 4030 4034 ' <a href="%1$s">%2$s</a>', 4031 4035 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' ) ,4036 _x( 'Cancel request', 'user email change' ) 4033 4037 ); 4034 4038 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)