Opened 20 years ago
Closed 20 years ago
#786 closed defect (bug) (fixed)
Wrong use of current userinfo when handling comments
Reported by: | anonymousbugger | Owned by: | matt |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 1.5 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
In file: http://cvs.sourceforge.net/viewcvs.py/cafelog/wordpress/wp-comments-post.php?rev=1.27&view=markup
The code:
<pre> If the user is logged in
get_currentuserinfo();
if ( $user_ID ) :
$comment_author = $user_login;</pre>
Should be replaced with:
<pre> If the user is logged in
get_currentuserinfo();
if ( $user_ID ) :
$comment_author = $user_identity;</pre>
Change History (5)
Note: See
TracTickets for help on using
tickets.
Confirmed. While we're on the subject, two lines below that line, "http://" should NOT be removed as this breaks the links on commentors' names.