Changeset 4260 for trunk/wp-comments-post.php
- Timestamp:
- 09/28/2006 07:16:15 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-comments-post.php
r4144 r4260 58 58 endif; 59 59 60 $location = ( empty( $_POST['redirect_to'] ) ) ? get_permalink( $comment_post_ID ) : $_POST['redirect_to']; 60 $location = ( empty($_POST['redirect_to']) ? get_permalink($comment_post_ID) : $_POST['redirect_to'] ) . '#comment-' . $comment_id; 61 $location = apply_filters('comment_post_redirect', $location, $comment); 61 62 62 wp_redirect( $location);63 wp_redirect($location); 63 64 64 65 ?>
Note: See TracChangeset
for help on using the changeset viewer.