[wp-trac] [WordPress Trac] #54800: Nonce creation causes DB access errors when initializing multisite networks

WordPress Trac noreply at wordpress.org
Tue Jan 18 23:45:55 UTC 2022


#54800: Nonce creation causes DB access errors when initializing multisite networks
----------------------------------------+----------------------------
 Reporter:  schlessera                  |       Owner:  peterwilsoncc
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  5.9.1
Component:  Script Loader               |     Version:  5.0
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  has-patch has-testing-info  |     Focuses:
----------------------------------------+----------------------------
Changes (by peterwilsoncc):

 * owner:  (none) => peterwilsoncc
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52602" 52602]:
 {{{
 #!CommitTicketReference repository="" revision="52602"
 Script loader: Prevent DB errors during Multisite install.

 Prevent the script loader from attempting to create nonces during the
 installation process for Multisite configurations.

 Prior to this fix, multiple "Table does not exist" errors were thrown
 during installation if `MULTISITE` was defined in the `wp-config.php` file
 but the salt constants were not defined. Without the salts defined in PHP,
 WP was attempting to use the database fallbacks prior to table creation.

 Props schlessera, johnbillion, hellofromTonya, audrasjb, costdev.
 Fixes #54800.
 }}}

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


More information about the wp-trac mailing list