[wp-trac] [WordPress Trac] #18510: Class properties dbpassword, dbname, dbhost and dbh are undefined in wpdb

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 8 20:25:43 UTC 2012


#18510: Class properties dbpassword, dbname, dbhost and dbh are undefined in wpdb
------------------------------------+---------------------
 Reporter:  joelhardi               |       Owner:  nacin
     Type:  enhancement             |      Status:  closed
 Priority:  normal                  |   Milestone:  3.5
Component:  Database                |     Version:  3.3
 Severity:  minor                   |  Resolution:  fixed
 Keywords:  dev-feedback has-patch  |
------------------------------------+---------------------

Comment (by hew):

 Just a heads up, r21473 broke some unit tests we were running. This
 unset() started PHP fataling after the change:

 {{{
 unset( $wpdb->dbh );
 }}}

 Westi suggests a general plugin scan for similar possible breakage.

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


More information about the wp-trac mailing list