[wp-hackers] Plugins and network activations

Mike Schinkel mikeschinkel at newclarity.net
Wed Jun 29 15:13:40 UTC 2011


On Jun 29, 2011, at 11:05 AM, Peter Westwood wrote:
> If they contain data you don't want to access globally and don't fit the current schema then yes.
> 
> I would recommend that any plugin that relies on them is written to do something along the following lines:
> 
> 1) Create the tables in single site when activated.
> 2) Create the tables when a new blog is created in multisite
> 3) Comes with an example script to go back and create the tables for pre-existing multisite blogs.
> 
> It just doesn't make sense to try and do the table creation at the point of network activation.

Thanks for clarifying.  I misunderstood and thought you were saying "Don't create per-site tables."

-Mike


More information about the wp-hackers mailing list