[wp-hackers] wp2.3 and dbDelta()
Otto
otto at ottodestruct.com
Wed Oct 3 04:37:22 GMT 2007
There is no wp-content/install.php file, by default. Okay, it might do
something if it's there, but it shouldn't be there.
wp-admin/includes/schema.php just defines the schema. Also no output.
wp-admin/includes/admin.php includes pretty much all the other
wp-admin/includes/ files. However, I don't think any of them makes any
output either, they all seem to define functions and variables and
such.
On 10/2/07, Viper007Bond <viper at viper007bond.com> wrote:
> Yes it does. Look at the top of the file.
>
> if ( file_exists(ABSPATH . 'wp-content/install.php') )
> require (ABSPATH . 'wp-content/install.php');
> require_once(ABSPATH . 'wp-admin/includes/admin.php');
> require_once(ABSPATH . 'wp-admin/includes/schema.php');
>
> install.php will output stuff, as may others.
>
> On 10/2/07, Otto <otto at ottodestruct.com> wrote:
> >
> > I fail to see the problem. Just include wp-admin/includes/upgrade.php.
> > That file is all functions, it does nothing by itself.
> >
> >
> > On 10/2/07, Will Norris <will at willnorris.com> wrote:
> > > How is a developer supposed to use dbDelta in Wordpress 2.3? The
> > > problem is that the function has been moved into upgrade.php (from
> > > upgrade-functions.php), and if I include that file then it tries to
> > > upgrade the entire system. Suggestions?
> > >
> > > thanks,
> > > will
> > > _______________________________________________
> > > wp-hackers mailing list
> > > wp-hackers at lists.automattic.com
> > > http://lists.automattic.com/mailman/listinfo/wp-hackers
> > >
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
>
>
>
> --
> Viper007Bond | http://www.viper007bond.com/
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list