Changeset 7755 for trunk/wp-admin/comment.php
- Timestamp:
- 04/21/2008 04:45:48 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/comment.php
r7304 r7755 142 142 wp_delete_comment( $comment->comment_ID ); 143 143 144 if ( '' != wp_get_referer() && false == $noredir )144 if ( '' != wp_get_referer() && false == $noredir && false === strpos(wp_get_referer(), 'comment.php' ) ) 145 145 wp_redirect( wp_get_referer() ); 146 else if ( '' != wp_get_original_referer() && false == $noredir ) 147 wp_redirect( wp_get_original_referer() ); 146 148 else 147 149 wp_redirect( get_option('siteurl') . '/wp-admin/edit-comments.php' );
Note: See TracChangeset
for help on using the changeset viewer.