Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#12249 closed enhancement (fixed)

Add $post_id parameter to get_comments_link()

Reported by: scribu's profile scribu Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: Template Keywords: has-patch commit
Focuses: Cc:

Description

It would be really useful if get_comments_link() accepted an optional $post_id parameter.

It's trivial to add, as demonstrated in the patch.

Attachments (1)

get_comments_link.diff (525 bytes) - added by scribu 15 years ago.

Download all attachments as: .zip

Change History (2)

#1 @ryan
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.