Opened 3 years ago

Closed 3 years ago

#12249 closed enhancement (fixed)

Add $post_id parameter to get_comments_link()

Reported by: scribu Owned by:
Priority: normal Milestone: 3.0
Component: Template Version:
Severity: normal Keywords: has-patch commit
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 3 years ago.

Download all attachments as: .zip

Change History (2)

scribu3 years ago

comment:1   ryan3 years ago

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