WordPress.org

Make WordPress Core

Ticket #11270: 11270.diff

File 11270.diff, 1.2 KB (added by wojtek.szkutnik, 8 years ago)
  • comment.php

     
    5858        $comment_id = absint( $_GET['c'] );
    5959
    6060        if ( !$comment = get_comment( $comment_id ) )
    61                 comment_footer_die( __('Oops, no comment with this ID.') . sprintf(' <a href="%s">'.__('Go back').'</a>!', 'javascript:history.go(-1)') );
     61                comment_footer_die( __('Oops, no comment with this ID.') . sprintf(' <a href="%s">'.__('Go back!').'</a>', 'javascript:history.go(-1)') );
    6262
    6363        if ( !current_user_can('edit_post', $comment->comment_post_ID) )
    6464                comment_footer_die( __('You are not allowed to edit comments on this post.') );
     
    211211        $noredir = isset($_REQUEST['noredir']);
    212212
    213213        if ( !$comment = get_comment($comment_id) )
    214                 comment_footer_die( __('Oops, no comment with this ID.') . sprintf(' <a href="%s">'.__('Go back').'</a>!', 'edit-comments.php') );
     214                comment_footer_die( __('Oops, no comment with this ID.') . sprintf(' <a href="%s">'.__('Go back!').'</a>', 'edit-comments.php') );
    215215        if ( !current_user_can('edit_post', $comment->comment_post_ID ) )
    216216                comment_footer_die( __('You are not allowed to edit comments on this post.') );
    217217