[wp-trac] [WordPress Trac] #44485: Allow some functions from comments-template.php to accept a comment or post ID

WordPress Trac noreply at wordpress.org
Sun Jul 1 14:11:57 UTC 2018


#44485: Allow some functions from comments-template.php to accept a comment or post
ID
---------------------------+-----------------------------
 Reporter:  tristanleboss  |      Owner:  (none)
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Comments       |    Version:
 Severity:  normal         |   Keywords:  has-patch
  Focuses:                 |
---------------------------+-----------------------------
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44485>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list