#1673 closed defect (bug) (fixed)
wp_redirect() should redirect to home if empty
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | minor | Version: | 1.6 |
Component: | General | Keywords: | bg|has-patch bg|commit bg|squashed |
Focuses: | Cc: |
Description
The function wp_redirect()
should redirect people to the blog's base page if no URL is set. For example, if a user doesn't have HTTP referrers enabled and they post a comment, they get stuck at wp-comments-post.php
.
See this thread for details: http://wordpress.org/support/topic/42727
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
New patch fixes by creating permalink from post id, instead of using the referrer.