Changeset 8543 for trunk/wp-includes/comment-template.php
- Timestamp:
- 08/04/2008 10:29:37 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/comment-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-template.php
r8497 r8543 321 321 * @uses $comment 322 322 * 323 * @param object|string|int $comment Comment to retrieve. 323 324 * @return string The permalink to the current comment 324 325 */ 325 function get_comment_link( ) {326 global $comment;326 function get_comment_link($comment = null) { 327 $comment = get_comment($comment); 327 328 return get_permalink( $comment->comment_post_ID ) . '#comment-' . $comment->comment_ID; 328 329 }
Note: See TracChangeset
for help on using the changeset viewer.