WordPress 4.1.2
[autoinstalls/wordpress.git] / wp-admin / includes / dashboard.php
index bf37176bae3c0f5eb43513ec13c2861547dc127d..75a5b1cb843374e15bfdc9ed9e52f7e3b009375a 100644 (file)
@@ -518,7 +518,7 @@ function wp_dashboard_recent_drafts( $drafts = false ) {
 function _wp_dashboard_recent_comments_row( &$comment, $show_date = true ) {
        $GLOBALS['comment'] =& $comment;
 
-       $comment_post_title = strip_tags(get_the_title( $comment->comment_post_ID ));
+       $comment_post_title = _draft_or_post_title( $comment->comment_post_ID );
 
        if ( current_user_can( 'edit_post', $comment->comment_post_ID ) ) {
                $comment_post_url = get_edit_post_link( $comment->comment_post_ID );