[wp-trac] [WordPress Trac] #55402: Check for and retain custom indexes on version upgrades

WordPress Trac noreply at wordpress.org
Tue Aug 9 16:56:35 UTC 2022


#55402: Check for and retain custom indexes on version upgrades
-------------------------+------------------------------
 Reporter:  amykamala    |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Database     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by OllieJones):

 If a plugin could hook the  'dbdelta_queries' filter, it could intercept
 the data-definition language SQL statements that core update emits.  This
 would be a good way for plugins to control index changes during version
 updates.

 But, unfortunately, plugins aren't active during the database update phase
 of core's version update process.

 Maybe a valid fix to this issue could be a way to make at least some
 plugins active during version update.

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


More information about the wp-trac mailing list