Make WordPress Core

Changeset 49572

Timestamp:
11/12/2020 05:53:41 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Database: Clean up the post_category column removed from DB schema for new installations in WordPress 2.8.

Its presence may conflict with WP_Post::__get(), which should generally fill the non-existent post_category property, but is not triggered if the column exists in the database.

Follow-up to [10895].

Props leogermani, davidbaumwald, hellofromTonya.
Fixes #51288.

Location:
trunk/src
Files:
2 edited

Legend:

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

    r49193 r49572  
    875875    }
    876876
     877
     878
     879
     880
    877881    maybe_disable_link_manager();
    878882
     
    22382242
    22392243/**
     2244
     2245
     2246
     2247
     2248
     2249
     2250
     2251
     2252
     2253
     2254
     2255
     2256
     2257
     2258
     2259
     2260
    22402261 * Executes network-level upgrade routines.
    22412262 *
  • trunk/src/wp-includes/version.php

    r49557 r49572  
    2121 * @global int $wp_db_version
    2222 */
    23 $wp_db_version = 49534;
     23$wp_db_version = 495;
    2424
    2525/**
Note: See TracChangeset for help on using the changeset viewer.