Changeset 4535 for trunk/wp-admin/comment.php
- Timestamp:
- 11/28/2006 09:51:13 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/comment.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/comment.php
r4480 r4535 19 19 20 20 if ( ! $comment = get_comment($comment) ) 21 wp_die( sprintf(__('Oops, no comment with this ID. <a href="%s">Go back</a>!'), 'javascript:history.go(-1)'));21 wp_die(__('Oops, no comment with this ID.').sprintf(' <a href="%s">'.__('Go back').'</a>!', 'javascript:history.go(-1)')); 22 22 23 23 if ( !current_user_can('edit_post', $comment->comment_post_ID) ) … … 41 41 42 42 if ( ! $comment = get_comment($comment) ) 43 wp_die( sprintf(__('Oops, no comment with this ID. <a href="%s">Go back</a>!'), 'edit.php'));43 wp_die(__('Oops, no comment with this ID.').sprintf(' <a href="%s">'.__('Go back').'</a>!', 'edit.php')); 44 44 45 45 if ( !current_user_can('edit_post', $comment->comment_post_ID) ) … … 50 50 <div class="narrow"> 51 51 <?php if ( 'spam' == $_GET['dt'] ) { ?> 52 <p><?php _e('<strong>Caution:</strong>You are about to mark the following comment as spam:'); ?></p>52 <p><?php echo '<strong>'.__('Caution:').'</strong> '.__('You are about to mark the following comment as spam:'); ?></p> 53 53 <?php } elseif ( 'cdc' == $action ) { ?> 54 <p><?php _e('<strong>Caution:</strong>You are about to delete the following comment:'); ?></p>54 <p><?php echo '<strong>'.__('Caution:').'</strong> '.__('You are about to delete the following comment:'); ?></p> 55 55 <?php } else { ?> 56 <p><?php _e('<strong>Caution:</strong>You are about to approve the following comment:'); ?></p>56 <p><?php echo '<strong>'.__('Caution:').'</strong> '.__('You are about to approve the following comment:'); ?></p> 57 57 <?php } ?> 58 58 … … 117 117 118 118 if ( ! $comment = get_comment($comment) ) 119 wp_die( sprintf(__('Oops, no comment with this ID. <a href="%s">Go back</a>!'), 'edit-comments.php'));119 wp_die(__('Oops, no comment with this ID.').sprintf(' <a href="%s">'.__('Go back').'</a>!', 'edit-comments.php')); 120 120 121 121 if ( !current_user_can('edit_post', $comment->comment_post_ID) ) … … 146 146 147 147 if ( ! $comment = get_comment($comment) ) 148 wp_die( sprintf(__('Oops, no comment with this ID. <a href="%s">Go back</a>!'), 'edit.php'));148 wp_die(__('Oops, no comment with this ID.').sprintf(' <a href="%s">'.__('Go back').'</a>!', 'edit.php')); 149 149 150 150 if ( !current_user_can('edit_post', $comment->comment_post_ID) ) … … 172 172 173 173 if ( ! $comment = get_comment($comment) ) 174 wp_die( sprintf(__('Oops, no comment with this ID. <a href="%s">Go back</a>!'), 'edit.php'));174 wp_die(__('Oops, no comment with this ID.').sprintf(' <a href="%s">'.__('Go back').'</a>!', 'edit.php')); 175 175 176 176 if ( !current_user_can('edit_post', $comment->comment_post_ID) )
Note: See TracChangeset
for help on using the changeset viewer.