[wp-hackers] Creating tables using dbDelta

Ozh ozh at planetozh.com
Sun Apr 6 21:11:24 GMT 2008


If I remember, the change happened with 2.3

if ($wp_version >= '2.3') {
	require_once(ABSPATH.'/wp-admin/includes/admin.php');
} else {
	require_once(ABSPATH.'/wp-admin/admin-functions.php') ;
}

Something like this.

On Sun, Apr 6, 2008 at 8:15 PM, Sudar Muthu <sudar at sudarmuthu.com> wrote:
>  the file which is included is a different one. Earlier it was
>  wp-admin/upgrade-functions.php and now it is wp-admin/includes/upgrade.php
>



-- 
http://FrenchFragFactory.net ~ Daily Quake News
http://planetOzh.com ~ Blog and WordPress Stuff


More information about the wp-hackers mailing list