mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
git-svn-id: https://develop.svn.wordpress.org/trunk@2167 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -64,6 +64,11 @@ function get_comments_link() {
|
||||
return get_permalink() . '#comments';
|
||||
}
|
||||
|
||||
function get_comment_link() {
|
||||
global $comment;
|
||||
return get_permalink( $comment->comment_post_ID ) . '#comment-' . $comment->comment_ID;
|
||||
}
|
||||
|
||||
function comments_link( $file = '', $echo = true ) {
|
||||
echo get_comments_link();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user