[wp-trac] [WordPress Trac] #42466: HTTP status code is wrong on setup error

WordPress Trac noreply at wordpress.org
Sat Mar 21 15:43:13 UTC 2020


#42466: HTTP status code is wrong on setup error
-----------------------------------+-----------------------------
 Reporter:  linyows                |       Owner:  SergeyBiryukov
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  5.5
Component:  Upgrade/Install        |     Version:
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  2nd-opinion has-patch  |     Focuses:  administration
-----------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47478" 47478]:
 {{{
 #!CommitTicketReference repository="" revision="47478"
 Upgrade/Install: Return a more appropriate HTTP response status code (`409
 Conflict`) if the `wp-config.php` file already exists.

 Props linyows, ocean90.
 Fixes #42466.
 }}}

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


More information about the wp-trac mailing list