[wp-trac] [WordPress Trac] #19755: Redundant blog_versions table

WordPress Trac noreply at wordpress.org
Sat Feb 18 21:31:53 UTC 2017


#19755: Redundant blog_versions table
--------------------------------------------------+-----------------------
 Reporter:  johnbillion                           |       Owner:
     Type:  enhancement                           |      Status:  reopened
 Priority:  normal                                |   Milestone:
Component:  Multisite                             |     Version:  3.0
 Severity:  minor                                 |  Resolution:
 Keywords:  has-patch dev-feedback needs-refresh  |     Focuses:
--------------------------------------------------+-----------------------
Changes (by spacedmonkey):

 * keywords:  has-patch dev-feedback => has-patch dev-feedback needs-refresh
 * status:  closed => reopened
 * resolution:  maybelater =>


Comment:

 I think a better way forward for blog_versions table is to not create it
 on new WordPress installs. Then put a checks in place for the one place in
 core that writes to the table to check if the table exists before writing
 to it. This also means that if you have an existing site that you want to
 get rid of this table, then you can manually delete it.

 This is a nice solution as it is backwards compatible but also means you
 can removed blog_versions if you want as well.

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


More information about the wp-trac mailing list