[wp-trac] [WordPress Trac] #29364: Tables more logicall names for networks

WordPress Trac noreply at wordpress.org
Mon Aug 25 14:44:49 UTC 2014


#29364: Tables more logicall names for networks
-----------------------------+-----------------------------
 Reporter:  igmoweb          |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Database         |    Version:  3.9.2
 Severity:  normal           |   Keywords:
  Focuses:  multisite        |
-----------------------------+-----------------------------
 I don't know if this will get something here or if I'm asking too much but
 I believe that for the sake of logic, main WP tables should be called
 wp_1_*. It doesn't make sense that network tables have the same prefix
 than the site with ID = 1.

 There are several plugins around that tries to clone or copy subsites.
 Their main problem is that if they copy the site ID = 1, they will copy
 all network tables. That can produce a huge amount of data.

 But apart from those specifical problems, at least for me, the problem is
 the logic.

 Let's see another approach. Would it be crazy to rename tables in a single
 install to be wp_1_*? I know it's a little weird but the network
 installation would not need to rename them and you still can return to
 single site without any problems.

 Anyone want to discuss? Anyone want to close this?

 Thanks.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29364>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list