WordPress.org

Make WordPress Core

Ticket #8399: comment_link_dashboard.diff

File comment_link_dashboard.diff, 876 bytes (added by bobrik, 9 years ago)

Adds link to comment in the blog.

  • wp-admin/includes/dashboard.php

     
    473473                        <?php if ( !$comment->comment_type || 'comment' == $comment->comment_type ) : ?>
    474474
    475475                        <?php echo get_avatar( $comment, 50 ); ?>
    476                         <h4 class="comment-meta"><?php printf( __( 'From %1$s on %2$s%3$s' ), '<cite class="comment-author">' . get_comment_author_link() . '</cite>', $comment_post_link, ' <span class="approve">' . __( '[Pending]' ) . '</span>' ); ?></h4>
     476                        <h4 class="comment-meta"><?php printf( __( 'From %1$s on %2$s%3$s' ), '<cite class="comment-author">' . get_comment_author_link() . '</cite>', $comment_post_link." ".$comment_link, ' <span class="approve">' . __( '[Pending]' ) . '</span>' ); ?></h4>
    477477
    478478                        <?php
    479479                        else :