[wp-hackers] WP Developer Edition
Jamie Talbot
wphackers at jamietalbot.com
Tue Apr 17 02:50:03 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
deko wrote:
> Thanks. I'm interested in how you will manage your plug-in data when WP
> is upgraded. For example, when a user upgrades from 2.1.3 to 2.2
> (deactivating your plug-in in the process), what happens to the data in
> the plug-in specific table(s)? I've read about the dbdelta function
> (thanks Jamie) http://codex.wordpress.org/Creating_Tables_with_Plugins
> but that addresses upgrades to the plug-in table schema. What happens
> when WP is upgraded to a new db schema? Will plug-in specicific table
> data be persevered? Or will the tables need to be exported and imported
> with phpMyAdmin after the upgrade? Or would you simply script that
> process?
WordPress ignores any tables that aren't part of the core when it is upgrading, so you have nothing
to worry about.
Cheers,
Jamie.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGJDXbrovxfShShFARAuo7AJ9ECmj1rhJ1KE+qjMpaSwy93PeP5gCdGOS4
5uooQSEFpnbcMFMqxm5QZvY=
=8O+r
-----END PGP SIGNATURE-----
More information about the wp-hackers
mailing list