Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#1673 closed defect (bug) (fixed)

wp_redirect() should redirect to home if empty

Reported by: viper007bond's profile Viper007Bond Owned by: markjaquith's profile markjaquith
Milestone: Priority: low
Severity: minor Version: 1.6
Component: General Keywords: bg|has-patch bg|commit bg|squashed
Focuses: Cc:


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:

Attachments (1)

wp-comments-post.php.diff (479 bytes) - added by markjaquith 19 years ago.

Download all attachments as: .zip

Change History (5)

#1 @markjaquith
19 years ago

  • Keywords bg|has-patch bg|commit added
  • Milestone set to 1.6
  • Owner changed from anonymous to markjaquith
  • Status changed from new to assigned

#2 @markjaquith
19 years ago

  • Keywords bg|squashed added; wp_redirect removed
  • Version changed from 1.5.2 to 1.6

New patch fixes by creating permalink from post id, instead of using the referrer.

#3 @matt
19 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [2984]) Redirect to permalink instead of referrer. Fixes #1673

#4 @(none)
18 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.