Setup now that global is not used. see #15327
git-svn-id: http://svn.automattic.com/wordpress/trunk@19822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0acbde2f56
commit
a2618da365
|
@ -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