Setup now that global is not used. see #15327
git-svn-id: https://develop.svn.wordpress.org/trunk@19822 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b3aee653fd
commit
3a1d1b098b
@ -653,6 +653,7 @@ function wp_ajax_replyto_comment( $action ) {
|
||||
|
||||
$user = wp_get_current_user();
|
||||
if ( $user->ID ) {
|
||||
$user_ID = $user->ID;
|
||||
$comment_author = $wpdb->escape($user->display_name);
|
||||
$comment_author_email = $wpdb->escape($user->user_email);
|
||||
$comment_author_url = $wpdb->escape($user->user_url);
|
||||
|
Loading…
Reference in New Issue
Block a user