'<p>' .
__( 'You can edit the information left in a comment if needed. This is often useful when you notice that a commenter has made a typographical error.'
) . '</p>' .
'<p>' .
__( 'You can also moderate the comment from this screen using the Status box, where you can also change the timestamp of the comment.'
) . '</p>',
) );
get_current_screen()->
set_help_sidebar( '<p><strong>' .
__( 'For more information:'
) . '</strong></p>' .
'<p>' .
__( '<a href="https://wordpress.org/documentation/article/comments-screen/">Documentation on Comments</a>'
) . '</p>' .
'<p>' .
__( '<a href="https://wordpress.org/support/forums/">Support forums</a>'
) . '</p>'
);
wp_enqueue_script( 'comment'
);
require_once ABSPATH . 'wp-admin/admin-header.php';
if ( !
$comment ) { comment_footer_die( __( 'Invalid comment ID.'
) .
sprintf( ' <a href="%s">' .
__( 'Go back'
) . '</a>.', 'javascript:history.go(-1)'
) );
} if ( !
current_user_can( 'edit_comment',
$comment_id ) ) { comment_footer_die( __( 'Sorry, you are not allowed to edit this comment.'
) );
} if ( 'trash' ===
$comment->comment_approved
) {