[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
Thu Aug 21 19:22:30 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:
--------------------------+------------------------------
Changes (by desrosj):

 * keywords:  has-patch 2nd-opinion => has-patch


Comment:

 After looking through this, I agree with using `wp_die()` for this
 specific error provided the `$this->last_error` is used. My thinking is a
 `wp_die()` will guard against the following:
 - retrying requests can result in extending the cool down period.
 - it's possible that some queries for a request could fail due to rate
 limiting but others may succeed. The consequence for both would likely be
 a scenario where only some of the information required for the request is
 available and the result is a visibly broken page.

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


More information about the wp-trac mailing list