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:
Ryan Boren 2012-02-03 20:13:22 +00:00
parent b3aee653fd
commit 3a1d1b098b
1 changed files with 1 additions and 0 deletions

View File

@ -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);