Changeset 37914 for trunk/src/wp-admin/comment.php
- Timestamp:
- 06/29/2016 03:15:40 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/comment.php
r37674 r37914 62 62 63 63 if ( !current_user_can( 'edit_comment', $comment_id ) ) 64 comment_footer_die( __(' You are not allowed to edit this comment.') );64 comment_footer_die( __('Sorry, you are not allowed to edit this comment.') ); 65 65 66 66 if ( 'trash' == $comment->comment_approved ) … … 255 255 comment_footer_die( __( 'Invalid comment ID.' ) . sprintf(' <a href="%s">' . __('Go back') . '</a>.', 'edit-comments.php') ); 256 256 if ( !current_user_can( 'edit_comment', $comment->comment_ID ) ) 257 comment_footer_die( __(' You are not allowed to edit comments on this post.') );257 comment_footer_die( __('Sorry, you are not allowed to edit comments on this post.') ); 258 258 259 259 if ( '' != wp_get_referer() && ! $noredir && false === strpos(wp_get_referer(), 'comment.php') )
Note: See TracChangeset
for help on using the changeset viewer.