Make WordPress Core


Ignore:
Timestamp:
09/19/2019 10:06:41 PM (5 years ago)
Author:
whyisjake
Message:

Multisite: Remove the redundant blog_versions table.

As part of the Multisite installation process, a blog_versions table is created. This table is never read from (except immediately prior to updating it), it's only ever inserted into or updated. It is not used to determine which blogs need to be upgraded.
This table was introduced in 3.0 when the WPMU schema was merged #11644 and it appears the table has never been used in core and is therefore redundant and may as well be removed.

Props johnbillion, nacin, ryan, johnjamesjacoby, whyisjake.

Fixes #19755. See #41685.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/wp-db.php

    r45932 r46194  
    307307        'sitecategories',
    308308        'registration_log',
    309         'blog_versions',
    310309    );
    311310
     
    425424     */
    426425    public $blogmeta;
    427 
    428     /**
    429      * Multisite Blog Versions table
    430      *
    431      * @since 3.0.0
    432      * @var string
    433      */
    434     public $blog_versions;
    435426
    436427    /**
Note: See TracChangeset for help on using the changeset viewer.