Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #50161, comment 38


Ignore:
Timestamp:
09/08/2025 04:45:19 AM (8 weeks ago)
Author:
peterwilsoncc
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50161, comment 38

    initial v1  
    1212
    1313PR incoming but I won't commit until I get a logic check as `dbDelta()` is a little funky.
     14
     15Edit:
     16
     17The call to `upgrade_690()` was in the wrong location, once moved an error is thrown during upgrade:
     18
     19
     20{{{
     21[08-Sep-2025 04:43:50 UTC] WordPress database error Duplicate key name 'type_status_author' for query ALTER TABLE wp_posts ADD INDEX type_status_author (post_type,post_status,post_author) made by wp_upgrade, upgrade_all, upgrade_690
     22}}}
     23