|
@@ 288-290 (lines=3) @@
|
| 285 |
|
|
| 286 |
|
if ( $same > 0 && $comment = get_comment( $same ) ) { |
| 287 |
|
switch ( $comment->comment_approved ) { |
| 288 |
|
case '1' : |
| 289 |
|
$messages[] = __('This comment is already approved.') . ' <a href="' . esc_url( admin_url( "comment.php?action=editcomment&c=$same" ) ) . '">' . __( 'Edit comment' ) . '</a>'; |
| 290 |
|
break; |
| 291 |
|
case 'trash' : |
| 292 |
|
$messages[] = __( 'This comment is already in the Trash.' ) . ' <a href="' . esc_url( admin_url( 'edit-comments.php?comment_status=trash' ) ) . '"> ' . __( 'View Trash' ) . '</a>'; |
| 293 |
|
break; |
|
@@ 291-293 (lines=3) @@
|
| 288 |
|
case '1' : |
| 289 |
|
$messages[] = __('This comment is already approved.') . ' <a href="' . esc_url( admin_url( "comment.php?action=editcomment&c=$same" ) ) . '">' . __( 'Edit comment' ) . '</a>'; |
| 290 |
|
break; |
| 291 |
|
case 'trash' : |
| 292 |
|
$messages[] = __( 'This comment is already in the Trash.' ) . ' <a href="' . esc_url( admin_url( 'edit-comments.php?comment_status=trash' ) ) . '"> ' . __( 'View Trash' ) . '</a>'; |
| 293 |
|
break; |
| 294 |
|
case 'spam' : |
| 295 |
|
$messages[] = __( 'This comment is already marked as spam.' ) . ' <a href="' . esc_url( admin_url( "comment.php?action=editcomment&c=$same" ) ) . '">' . __( 'Edit comment' ) . '</a>'; |
| 296 |
|
break; |
|
@@ 294-296 (lines=3) @@
|
| 291 |
|
case 'trash' : |
| 292 |
|
$messages[] = __( 'This comment is already in the Trash.' ) . ' <a href="' . esc_url( admin_url( 'edit-comments.php?comment_status=trash' ) ) . '"> ' . __( 'View Trash' ) . '</a>'; |
| 293 |
|
break; |
| 294 |
|
case 'spam' : |
| 295 |
|
$messages[] = __( 'This comment is already marked as spam.' ) . ' <a href="' . esc_url( admin_url( "comment.php?action=editcomment&c=$same" ) ) . '">' . __( 'Edit comment' ) . '</a>'; |
| 296 |
|
break; |
| 297 |
|
} |
| 298 |
|
} |
| 299 |
|
|