[wp-trac] [WordPress Trac] #37984: Relocate either dbDelta() or wp_should_upgrade_global_tables() out of upgrade.php
WordPress Trac
noreply at wordpress.org
Wed Jul 3 06:41:15 UTC 2019
#37984: Relocate either dbDelta() or wp_should_upgrade_global_tables() out of
upgrade.php
-----------------------------+--------------------------
Reporter: johnjamesjacoby | Owner: (none)
Type: enhancement | Status: closed
Priority: low | Milestone:
Component: Database | Version: 4.3
Severity: minor | Resolution: wontfix
Keywords: | Focuses: performance
-----------------------------+--------------------------
Changes (by pento):
* keywords: 2nd-opinion =>
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
Upgrading tables in `admin_init` isn't something I really want to
encourage.
Rather, folks should hook into the `wp_upgrade` action, and upgrade their
tables the same time as Core does.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37984#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list