fix typo in variable

This commit is contained in:
Miguel Pinto 2020-03-27 19:36:00 +00:00 committed by GitHub
parent f8bb7681b6
commit 3def0534fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ defined( 'ABSPATH' ) || exit;
</th> </th>
<td class="forminp"> <td class="forminp">
<?php <?php
$curent_user_id = get_current_user_id(); $current_user_id = get_current_user_id();
$user_id = ! empty( $key_data['user_id'] ) ? absint( $key_data['user_id'] ) : $curent_user_id; $user_id = ! empty( $key_data['user_id'] ) ? absint( $key_data['user_id'] ) : $current_user_id;
$user = get_user_by( 'id', $user_id ); $user = get_user_by( 'id', $user_id );
$user_string = sprintf( $user_string = sprintf(
/* translators: 1: user display name 2: user ID 3: user email */ /* translators: 1: user display name 2: user ID 3: user email */