comment_post_ID > 0 ):
+if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_ID > 0 ) :
$comment_link = get_comment_link( $comment );
?>
diff --git a/wp-includes/version.php b/wp-includes/version.php
index ad06b5438c..b714aaeeed 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
-$wp_version = '4.5-beta3-36957';
+$wp_version = '4.5-beta3-36958';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.