WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#12249 closed enhancement (fixed)

Add $post_id parameter to get_comments_link()

Reported by: 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 4 years ago.

Download all attachments as: .zip

Change History (2)

scribu4 years ago

comment:1 ryan4 years ago

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