[wp-trac] [WordPress Trac] #51288: Drop deprecated database column upon upgrade

WordPress Trac noreply at wordpress.org
Thu Nov 12 17:53:57 UTC 2020


#51288: Drop deprecated database column upon upgrade
--------------------------+-----------------------------
 Reporter:  leogermani    |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.6
Component:  Database      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"49572" 49572]:
 {{{
 #!CommitTicketReference repository="" revision="49572"
 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.
 }}}

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


More information about the wp-trac mailing list