Changeset 23624 for trunk/wp-includes/comment-template.php
- Timestamp:
- 03/06/2013 07:57:31 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-template.php
r22123 r23624 517 517 */ 518 518 function get_comments_link($post_id = 0) { 519 return get_permalink($post_id) . '#comments';519 return apply_filters( 'get_comments_link', get_permalink( $post_id ) . '#comments', $post_id ); 520 520 } 521 521 … … 533 533 if ( !empty( $deprecated_2 ) ) 534 534 _deprecated_argument( __FUNCTION__, '1.3' ); 535 echo get_comments_link();535 echo esc_url( get_comments_link() ); 536 536 } 537 537
Note: See TracChangeset
for help on using the changeset viewer.