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

WordPress Trac noreply at wordpress.org
Wed Jan 19 00:13:02 UTC 2022


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

Comment (by SergeyBiryukov):

 comment:21:ticket:39047 has some context for adding the `! is_multisite()`
 checks removed in [52602].

 Some history here:
 * [39684] added a `wp_installing() && ! is_multisite()` check for the `wp-
 api` nonce.
 * [44114] used the same check in a new
 `wp_default_packages_inline_scripts()` function.
 * [51525] used the same check for the `user-profile` nonce.

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


More information about the wp-trac mailing list