Changeset 33860
- Timestamp:
- 09/02/2015 06:03:10 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-comments.php
r33821 r33860 9 9 /** WordPress Administration Bootstrap */ 10 10 require_once( dirname( __FILE__ ) . '/admin.php' ); 11 if ( !current_user_can('edit_posts') ) 12 wp_die( __( 'Cheatin’ uh?' ), 403 ); 11 if ( ! current_user_can( 'edit_posts' ) ) { 12 wp_die( 13 '<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' . 14 '<p>' . __( 'You are not allowed to edit comments.' ) . '</p>', 15 403 16 ); 17 } 13 18 14 19 $wp_list_table = _get_list_table('WP_Comments_List_Table');
Note: See TracChangeset
for help on using the changeset viewer.