[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 05:27:28 UTC 2012


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

Comment (by pento):

 Refreshed patch. You probably shouldn't be using the DB handle directly,
 but we're not going to stop you. :)

 I've removed the getter in this ticket, it'll be available as
 `$wpdb->dbuser`, etc, thanks to the magic getter in #20838.

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


More information about the wp-trac mailing list