[wp-trac] [WordPress Trac] #54849: Site transients cause DB errors when installing
WordPress Trac
noreply at wordpress.org
Tue Feb 8 23:28:18 UTC 2022
#54849: Site transients cause DB errors when installing
--------------------------------+----------------------------
Reporter: peterwilsoncc | Owner: peterwilsoncc
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.9.1
Component: Options, Meta APIs | Version: 5.9
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
--------------------------------+----------------------------
Changes (by peterwilsoncc):
* owner: (none) => peterwilsoncc
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"52694" 52694]:
{{{
#!CommitTicketReference repository="" revision="52694"
Options: Disable transients while installing.
Prevent the transient setters and getters from attempting to use the
database table before they exist during the installation process.
During installation transients now use the `wp_cache_*()` functions on all
sites, including those without a persistent cache, to prevent database
errors. The use of the caching functions stores the data in memory for the
duration of the request to account for transient data that is used
multiple times during installation.
Props dd32, audrasjb, tnolte, antonvlasenko, noisysocks, peterwilsoncc.
Fixes #54849.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54849#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list