Ticket #33008: 33008.2.diff
File 33008.2.diff, 791 bytes (added by , 10 years ago) |
---|
-
src/wp-admin/user-new.php
79 79 80 80 $roles = get_editable_roles(); 81 81 $role = $roles[ $_REQUEST['role'] ]; 82 83 /** 84 * Performs other actions when a user is invited to join a site. 85 * 86 * @since 4.4.0 87 * 88 * @param int $user_id The invited user's ID. 89 * @param array $role The role of invited user. 90 * @param string $newuser_key The key of the invitation. 91 */ 92 do_action( 'invite_user', $user_id, $role, $newuser_key ); 93 82 94 /* translators: 1: Site name, 2: site URL, 3: role, 4: activation URL */ 83 95 $message = __( 'Hi, 84 96