Changes between Initial Version and Version 4 of Ticket #51288
- Timestamp:
- 09/24/2020 12:03:56 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #51288
- Property Keywords has-patch added; needs-patch removed
-
Ticket #51288 – Description
initial v4 1 1 I just stumbled upon some issues with (very) old blogs that still have the post_category column in the posts table. 2 2 3 After this column was removed 11 years ago (https://core.trac.wordpress.org/ticket/9435#comment:2)we never handled their removals on db upgrades.3 After this column was removed 11 years ago in [10895] / #9435, we never handled their removals on db upgrades. 4 4 5 5 This is an issue because we have a magic getter in WP_Post class that will fill the non existent post_category property. However, if the column exists in the database, the magic getter isn't triggered and we get 0 every time. So I think we can consider this a bug.