Changeset 9807 for trunk/wp-admin/comment.php
- Timestamp:
- 11/20/2008 04:51:47 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/comment.php
r8697 r9807 184 184 wp_redirect( wp_get_referer() ); 185 185 else 186 wp_redirect( admin_url('edit .php?p=' . absint( $comment->comment_post_ID ) . '#comments') );186 wp_redirect( admin_url('edit-comments.php?p=' . absint( $comment->comment_post_ID ) . '#comments') ); 187 187 188 188 exit(); … … 209 209 wp_redirect( wp_get_referer() ); 210 210 else 211 wp_redirect( admin_url('edit .php?p=' . absint( $comment->comment_post_ID ) . '#comments') );211 wp_redirect( admin_url('edit-comments.php?p=' . absint( $comment->comment_post_ID ) . '#comments') ); 212 212 213 213 exit(); … … 223 223 edit_comment(); 224 224 225 $location = ( empty( $_POST['referredby'] ) ? "edit .php?p=$comment_post_id" : $_POST['referredby'] ) . '#comment-' . $comment_id;225 $location = ( empty( $_POST['referredby'] ) ? "edit-comments.php?p=$comment_post_id" : $_POST['referredby'] ) . '#comment-' . $comment_id; 226 226 $location = apply_filters( 'comment_edit_redirect', $location, $comment_id ); 227 227 wp_redirect( $location );
Note: See TracChangeset
for help on using the changeset viewer.