Ticket #33669: 33669.diff
File 33669.diff, 650 bytes (added by , 9 years ago) |
---|
-
src/wp-admin/edit-comments.php
9 9 /** WordPress Administration Bootstrap */ 10 10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 11 if ( !current_user_can('edit_posts') ) 12 wp_die( __( 'Cheatin’ uh?' ), 403 ); 12 wp_die( 13 '<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' . 14 '<p>' . __( 'You are not allowed to edit comments.' ) . '</p>', 15 403 ); 13 16 14 17 $wp_list_table = _get_list_table('WP_Comments_List_Table'); 15 18 $pagenum = $wp_list_table->get_pagenum();