/** WordPress Administration Bootstrap */
require_once('admin.php');
+if ( !current_user_can('edit_posts') )
+ wp_die(__('Cheatin’ uh?'));
+
// Back-compat for viewing comments of an entry
if ( $_redirect = intval( max( @$_GET['p'], @$_GET['attachment_id'], @$_GET['page_id'] ) ) ) {
wp_redirect( admin_url('edit-comments.php?p=' . $_redirect ) );