Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#35347 closed defect (bug) (wontfix)

get_comment_text() and comment_text() are not similar.

Reported by: inferus-vv's profile inferus-vv Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.4.1
Component: Comments Keywords: close
Focuses: template Cc:

Description

comment_text() function returns parsed comment with HTML tags, but get_comment_text() returns simple text without formatting. Looking on other functions, I think get_comment_text() should return formatted code and comment_text() just call get_comment_text() and echo it

Change History (2)

#1 @rachelbaker
9 years ago

  • Focuses accessibility removed
  • Keywords close added

@inferus-vv Hello. Welcome to Trac!
I do not see an obvious way to change the output of these two functions, while still preserving backwards compatibility. For this reason, I am going to suggest this ticket be closed.

#2 @rachelbaker
9 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.