[wp-trac] [WordPress Trac] #54634: Database access on potentially missing table during WP installation
WordPress Trac
noreply at wordpress.org
Mon Dec 20 23:51:49 UTC 2021
#54634: Database access on potentially missing table during WP installation
------------------------------+-----------------------------
Reporter: schlessera | Owner: hellofromTonya
Type: defect (bug) | Status: closed
Priority: high | Milestone: 5.9
Component: Script Loader | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+-----------------------------
Changes (by hellofromTonya):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"52395" 52395]:
{{{
#!CommitTicketReference repository="" revision="52395"
Script Loader: Skip getting `'can_compress_scripts'` option in
`script_concat_settings()` during install.
When installing a multisite, there is a potential access to a non-existent
database table that needs to be skipped to avoid warnings/errors. This fix
checks is WordPress is not installing before getting the
`'can_compress_scripts'` option.
Props schlessera.
Fixes #54634.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54634#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list