[wp-testers] Can we delete this code from classes.php?

Kirk Steffensen blogger at steffensenfamily.com
Thu Feb 2 14:29:41 GMT 2006


I found the right fix!

 From http://us3.php.net/header the correct line to insert is

$phpVm->header("Status: 302");

I've tested it using the original wp-gallery2.php file and it works!

Thanks to Andy for pointing me in the right direction.  I have spend several
hours cumulatively Googling for a fix, using all combinations of 200 302
PHP-CGI etc, to no end.  As soon as you pointed me in the right direction, I
found the correct thread in php.net and found the answer.

We'll send this over to the Gallery2 folks.

Cheers and thanks for the great dialog!
Kirk


Quoting Andy Skelton <skeltoac at gmail.com>:

> On 2/2/06, Aylwin Cal <aylwin.cal at gmail.com> wrote:
>> Nope. I can't get it to work.
>>
>> Aylwin
>
> Can you insert something to check that we're modifying the right function?
>
> die('Yup!'); would do it.
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>





More information about the wp-testers mailing list