Changeset 13171
- Timestamp:
- 02/16/2010 05:54:19 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-template.php
r13030 r13171 513 513 * @since 1.5.0 514 514 * 515 * @param int $post_id Optional post id 515 516 * @return string The link to the comments 516 517 */ 517 function get_comments_link( ) {518 return get_permalink( ) . '#comments';518 function get_comments_link($post_id = 0) { 519 return get_permalink($post_id) . '#comments'; 519 520 } 520 521
Note: See TracChangeset
for help on using the changeset viewer.