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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch for some functions in comments-template.php