[wp-trac] [WordPress Trac] #32606: Plugin data migration

WordPress Trac noreply at wordpress.org
Wed Jun 10 17:46:26 UTC 2015


#32606: Plugin data migration
-----------------------------+------------------------------
 Reporter:  freetheweb       |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Plugins          |     Version:  4.2.2
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by knutsp):

 Plugins are not self contained applications. They are pieces of code that
 becomes part of th WordPress core application once activated. Even if it
 may have benefits to know what data is "owned" by a plugin, there are data
 that should not be owned. Data saved should become part of a common
 database. This enables plugins to extend other plugins and reuse data
 directly.

 Even now, plugins that want a complete separation may create their own DB
 tables, hopefully properly prefixed with a slug that clearly identifies
 the plugin hat created it.

 And as others have said, it should be the responsibility for each plugin
 that wants to import data another plugin has saved, or whatever, to
 properly either ''reuse them as is'', or import them and store them with
 new keys, when needed.

 So if a plugin wants to "take over" for, say BuddyPress, it may just use
 the data as they are. They er not protected and accessible for any plugin.
 Not marked who it belongs to, and that's fine. This need for an import is
 really non-existent.

 Your suggestion will just complicate things, in my view.

 This suggestion implies a so great paradigm shift that I also doubt Trac
 is a suitable place for discussing what it would take. I suggest writing a
 blog post, and make suggestions on how to implement it in practice.
 "Hopeless" things may become less strange if it can be implemented
 elegantly, flexible, compatible and easy to understand. This is just a
 wish and a general idea. Others may think different, for all I know.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32606#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list