[wp-trac] [WordPress Trac] #35347: get_comment_text() and comment_text() are not similar.
WordPress Trac
noreply at wordpress.org
Thu Jan 7 10:11:23 UTC 2016
#35347: get_comment_text() and comment_text() are not similar.
-------------------------------------+-----------------------------
Reporter: inferus-vv | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 4.4.1
Severity: normal | Keywords:
Focuses: accessibility, template |
-------------------------------------+-----------------------------
'''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
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35347>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list