Make WordPress Core

Opened 8 years ago

#44485 new enhancement

Allow some functions from comments-template.php to accept a comment or post ID

Reported by: tristanleboss Owned by:
Priority: normal Milestone: Awaiting Review
Component: Comments Version:
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

Nowadays, it's not uncommon to have to use some templating functions outside of the loop.

Most of them already accepts a comment or post ID (get_permalink, ...).

But, that's not the case for some functions related to comments.

I did a small update of the file to allow that.

Attachments (2)

comment-template.php.patch (6.7 KB ) - added by tristanleboss 8 years ago.
Patch for some functions in comments-template.php
comment-template.php.2.patch (11.8 KB ) - added by tristanleboss 8 years ago.
Latest patch with all functions done

Download all attachments as: .zip

Change History (2)

@tristanleboss
8 years ago

Patch for some functions in comments-template.php

@tristanleboss
8 years ago

Latest patch with all functions done

Note: See TracTickets for help on using tickets.