Changeset 3627 for branches/1.5/wp-comments-post.php
- Timestamp:
- 03/07/06 01:47:45 (3 years ago)
- Files:
-
- branches/1.5/wp-comments-post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.5/wp-comments-post.php
r2580 r3627 58 58 header('Pragma: no-cache'); 59 59 60 $location = ( empty($_POST['redirect_to'])) ? $_SERVER["HTTP_REFERER"]: $_POST['redirect_to'];60 $location = ( empty( $_POST['redirect_to'] ) ) ? get_permalink( $comment_post_ID ) : $_POST['redirect_to']; 61 61 62 62 wp_redirect($location);
