Changeset 33436 for trunk/src/wp-admin/comment.php
- Timestamp:
- 07/26/2015 11:35:47 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/comment.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/comment.php
r32974 r33436 70 70 71 71 if ( !$comment = get_comment( $comment_id ) ) 72 comment_footer_die( __( 'Oops, no comment with this ID.') . sprintf(' <a href="%s">' . __('Go back') . '</a>.', 'javascript:history.go(-1)') );72 comment_footer_die( __( 'Invalid comment ID.' ) . sprintf(' <a href="%s">' . __('Go back') . '</a>.', 'javascript:history.go(-1)') ); 73 73 74 74 if ( !current_user_can( 'edit_comment', $comment_id ) ) … … 124 124 case 'spam' : 125 125 $caution_msg = __('You are about to mark the following comment as spam:'); 126 $button = _ _('Mark as Spam');126 $button = _x( 'Mark as Spam', 'comment' ); 127 127 break; 128 128 case 'trash' : … … 178 178 <?php } ?> 179 179 <tr> 180 <th scope="row"><?php _e( 'In Response To' ); ?></th>180 <th scope="row"><?php /* translators: column name or table row header */ _e( 'In Response To' ); ?></th> 181 181 <td> 182 182 <?php … … 253 253 254 254 if ( !$comment = get_comment($comment_id) ) 255 comment_footer_die( __( 'Oops, no comment with this ID.') . sprintf(' <a href="%s">' . __('Go back') . '</a>.', 'edit-comments.php') );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 257 comment_footer_die( __('You are not allowed to edit comments on this post.') );
Note: See TracChangeset
for help on using the changeset viewer.