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

Aylwin Cal aylwin.cal at gmail.com
Wed Feb 1 16:55:16 GMT 2006


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
>


More information about the wp-testers mailing list