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

Santanu Misra santanu.misra at gmail.com
Wed Feb 1 17:07:46 GMT 2006


I tried the same change on my test server

At revision 3502.


 And there is no problem. I am using blix theme.

-Santanu

On 2/1/06, Aylwin Cal <aylwin.cal at gmail.com> wrote:
>
> Hi,
>
> I've tried changing line 31 from:
> require('./wp-blog-header.php');
> to:
> include('./wp-config.php');
>
> I no longer get stuck with the 200 but I get the following error on every
> single Gallery page:
>
> Warning: extract(): First argument should be an array in
> /var/hometemp/aylwin/public_html/wp2/wp-includes/functions.php on line
> 2109
>
> Aylwin
>
>
> On 2/1/06, Andy Skelton <skeltoac at gmail.com> wrote:
> >
> > I'm not very familiar with it but from a quick look, WPG2 is including
> > wp-blog-header.php, which is where wp() is called and the 200 status
> > code is set. I don't know why WPG2 doesn't simply include
> > wp-config.php. Would you mind trying this change on line 31 of
> > wp-gallery2.php?
> >
> > Thanks,
> > Andy
> >
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>



--
http://www.santm.com


More information about the wp-testers mailing list