Make WordPress Core

Opened 18 years ago

Closed 17 years ago

#2108 closed defect (bug) (fixed)

redirect does not always work

Reported by: denis-de-bernardy's profile Denis-de-Bernardy Owned by:
Milestone: 2.1 Priority: normal
Severity: major Version: 2.0
Component: Administration Keywords:
Focuses: Cc:

Description

e.g. using:

/wp-admin/profile.php

does not always redirect on a Windows machine when the profile is updated (leaves a blank screen).

Change History (7)

#1 @Denis-de-Bernardy
18 years ago

function wp_goto($location) {

if (strstr($_SERVERSERVER_SOFTWARE?, 'Microsoft-IIS')) {

header("Refresh: 0; URL=" . $location);

}
else {

header("Location: " . $location);

}

}

#2 @Denis-de-Bernardy
18 years ago

function wp_goto($location) {
	if (strstr($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS')) {
		header("Refresh: 0; URL=" . $location);
	}
	else {
		header("Location: " . $location);
	}
}

#4 @masquerade
18 years ago

  • Milestone set to 2.0

#5 @skeltoac
18 years ago

  • Milestone changed from 2.0 to 2.0.1

#6 @matt
18 years ago

  • Milestone changed from 2.0.1 to 2.1

#7 @matt
17 years ago

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

This should be obsolete by wp_redirect.

Note: See TracTickets for help on using tickets.