[wp-trac] [WordPress Trac] #16640: Blank page when db pass is incorrect

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 23 19:58:29 UTC 2011


#16640: Blank page when db pass is incorrect
------------------------------+---------------------
 Reporter:  rasheed           |       Owner:  westi
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.1.1
Component:  Warnings/Notices  |     Version:  3.1
 Severity:  critical          |  Resolution:  fixed
 Keywords:  has-patch         |
------------------------------+---------------------

Comment (by ryan):

 Replying to [comment:22 SergeyBiryukov]:
 > Wouldn't `$this->set_charset()` and `$this->select()` be inappropriate
 if `$this->dbh` is false? I guess it's safe to return, as in
 [attachment:16640.patch].

 I added the return, retested, and committed.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16640#comment:25>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list