[wp-hackers] wp2.3 and dbDelta()
Viper007Bond
viper at viper007bond.com
Wed Oct 3 00:01:24 GMT 2007
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/
More information about the wp-hackers
mailing list