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:
ryan 2012-02-03 20:13:22 +00:00
parent 0acbde2f56
commit a2618da365
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);