Changeset 37302 for trunk/src/wp-admin/includes/dashboard.php
- Timestamp:
- 04/22/2016 09:29:19 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/dashboard.php
r36964 r37302 631 631 } 632 632 633 if ( '1' === $comment->comment_approved ) { 634 $actions['view'] = '<a class="comment-link" href="' . esc_url( get_comment_link( $comment ) ) . '" aria-label="' . esc_attr__( 'View this comment' ) . '">' . __( 'View' ) . '</a>'; 635 } 633 $actions['view'] = '<a class="comment-link" href="' . esc_url( get_comment_link( $comment ) ) . '" aria-label="' . esc_attr__( 'View this comment' ) . '">' . __( 'View' ) . '</a>'; 636 634 637 635 /** … … 654 652 655 653 // Reply and quickedit need a hide-if-no-js span 656 if ( 'reply' == $action || 'quickedit' == $action ) 654 if ( 'reply' == $action || 'quickedit' == $action ) { 657 655 $action .= ' hide-if-no-js'; 658 656 } 657 658 if ( 'view' === $action && '1' !== $comment->comment_approved ) { 659 $action .= ' hidden'; 660 } 659 661 $actions_string .= "<span class='$action'>$sep$link</span>"; 660 662 }
Note: See TracChangeset
for help on using the changeset viewer.