Make WordPress Core

Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#24508 closed enhancement (fixed)

Improve comments for get_comment_author_link()

Reported by: nofearinc's profile nofearinc Owned by: drewapicture's profile DrewAPicture
Milestone: 3.7 Priority: normal
Severity: normal Version: 3.6
Component: Inline Docs Keywords: has-patch
Focuses: Cc:

Description

Currently, the get_comment_author_link() function in wp-includes/comment-template.php has a TODO for conditionals to be added while calling get_comment_author_url() and get_comment_author(). Since both functions use get_comment() to fetch the object and when the comment_ID function argument is empty, it falls back to the global comment object, we could update the comments and shed light on the actions that are to be executed.

Attachments (1)

comment-template.diff (1.0 KB) - added by nofearinc 12 years ago.
comment template comments enhancement

Download all attachments as: .zip

Change History (3)

@nofearinc
12 years ago

comment template comments enhancement

#1 @DrewAPicture
11 years ago

  • Owner set to DrewAPicture
  • Resolution set to fixed
  • Status changed from new to closed

In 25494:

Clarify phpdoc for get_comment_author_link().

props nofearinc. Fixes #24508.

#2 @DrewAPicture
11 years ago

  • Milestone changed from Awaiting Review to 3.7
Note: See TracTickets for help on using tickets.