Make WordPress Core

Opened 11 years ago

Closed 11 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:


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
if ( $user_ID ) :

$comment_author = $user_login;</pre>

Should be replaced with:
<pre> If the user is logged in
if ( $user_ID ) :

$comment_author = $user_identity;</pre>

Change History (5)

comment:1 @anonymousbugger11 years ago

  • Patch set to No

comment:2 @sethkinast11 years ago

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.

comment:3 @dmclark11 years ago


comment:4 @CarLBanks11 years ago

I also get this issue so I manually changed it.

comment:5 @matt11 years ago

  • fixed_in_version set to 1.5
  • Owner changed from anonymous to matt
  • Resolution changed from 10 to 20
  • Status changed from new to closed


Note: See TracTickets for help on using tickets.