[wp-trac] [WordPress Trac] #63678: WordPress redirect to wp-admin/install.php when a user is rate limited in mysql

WordPress Trac noreply at wordpress.org
Wed Sep 10 15:41:06 UTC 2025


#63678: WordPress redirect to wp-admin/install.php when a user is rate limited in
mysql
--------------------------+------------------------------
 Reporter:  anonymooo     |       Owner:  anonymooo
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Database      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by dmsnell):

 This is about the installation but we seem to be adding `wp_die()` in the
 PR inside of `$wpdb->query()` — is that right?

 Would we want to move the error-handling code into the installation
 script? Or terminate every single request which hits rate limiting? I am
 imagining that since many requests involve tens or hundreds of DB calls,
 we could have partially-successful requests.

 Before this change, //some// of the work in those requests are fulfilled
 while corruption and inconsistency remains. After this change, we avoid
 showing the user the corruption, but we might have still left the database
 in an inconsistent state (because we may have executed some queries before
 the rate-limiting went into effect).

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


More information about the wp-trac mailing list