Ticket #1673 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

wp_redirect() should redirect to home if empty

Reported by: Viper007Bond Assigned to: markjaquith
Priority: low Milestone:
Component: General Version: 1.6
Severity: minor Keywords: bg|has-patch bg|commit bg|squashed
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

wp-comments-post.php.diff (479 bytes) - added by markjaquith on 11/05/05 19:36:58.

Change History

09/22/05 22:21:36 changed by markjaquith

  • keywords changed from wp_redirect to wp_redirect bg|has-patch bg|commit.
  • owner changed from anonymous to markjaquith.
  • status changed from new to assigned.
  • milestone set to 1.6.

11/05/05 19:36:58 changed by markjaquith

  • attachment wp-comments-post.php.diff added.

11/05/05 19:44:04 changed by markjaquith

  • keywords changed from wp_redirect bg|has-patch bg|commit to bg|has-patch bg|commit bg|squashed.
  • version changed from 1.5.2 to 1.6.

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

11/05/05 22:08:56 changed by matt

  • status changed from assigned to closed.
  • resolution set to fixed.

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

11/30/06 19:41:47 changed by

  • milestone deleted.

Milestone 2.0 deleted