Make WordPress Core

Opened 21 years ago

Closed 21 years ago

Last modified 20 years ago

#1673 closed defect (bug) (fixed)

wp_redirect() should redirect to home if empty

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

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)

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

Download all attachments as: .zip

Change History (5)

#1 @markjaquith
21 years ago

  • Keywords bg|has-patch bg|commit added
  • Milestone1.6
  • Owner changed from anonymous to markjaquith
  • Status newassigned

#2 @markjaquith
21 years ago

  • Keywords bg|squashed added; wp_redirect removed
  • Version 1.5.21.6

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

#3 @matt
21 years ago

  • Resolutionfixed
  • Status assignedclosed

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

#4 @(none)
20 years ago

  • Milestone 2.0

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.