Merge pull request #26026 from miguelfspinto/patch-8

fix typo in variable
This commit is contained in:
Vedanshu Jain 2020-03-31 00:17:53 +05:30 committed by GitHub
commit 9640fad6c5
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 */