Ticket #33008: 33008.1.diff
File 33008.1.diff, 881 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 Unknown 87 * 88 * @param int $user_id The invited user's ID. 89 * @param int The current user's ID. 90 * @param array $role The role of invited user. 91 * @param string $newuser_key The key of the invitation. 92 */ 93 do_action( 'invite_user', $user_id, get_current_user_id(), $role, $newuser_key ); 94 82 95 /* translators: 1: Site name, 2: site URL, 3: role, 4: activation URL */ 83 96 $message = __( 'Hi,