[wp-trac] [WordPress Trac] #50161: Slow query in WP_Posts_List_Table, no way to avoid with filters/hooks
WordPress Trac
noreply at wordpress.org
Mon Sep 8 13:46:17 UTC 2025
#50161: Slow query in WP_Posts_List_Table, no way to avoid with filters/hooks
-------------------------+------------------------------------------
Reporter: LucasMS | Owner: SergeyBiryukov
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.9
Component: Database | Version: 5.4.1
Severity: normal | Resolution:
Keywords: | Focuses: administration, performance
-------------------------+------------------------------------------
Comment (by SergeyBiryukov):
In [changeset:"60721" 60721]:
{{{
#!CommitTicketReference repository="" revision="60721"
Upgrade/Install: Correct the database upgrade routine for WordPress 6.9.
This commit:
* Moves the call to `upgrade_690()` to the correct place so it actually
gets called.
* Wraps Hello Dolly upgrade code in a version check per standard practice.
* Removes the `$wpdb->query()` call to avoid attempting to create the new
index twice, once in the upgrade and once in `dbDelta()`.
Follow-up to [60666], [60716], [60717].
Props peterwilsoncc, mukesh27.
See #50161, #53323.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50161#comment:39>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list