Make RSS 2.0 comment feed GUIDs immutable. fixes #5072

git-svn-id: https://develop.svn.wordpress.org/trunk@6742 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith
2008-02-06 22:33:21 +00:00
parent 55be48f97f
commit 7a2d635909
2 changed files with 14 additions and 1 deletions
+13
View File
@@ -79,6 +79,19 @@ function the_permalink_rss() {
}
function comment_guid() {
echo get_comment_guid();
}
function get_comment_guid() {
global $comment;
if ( !is_object($comment) )
return false;
return get_the_guid($comment->comment_post_ID) . '#comment-' . $comment->comment_ID;
}
function comment_link() {
echo get_comment_link();
}