[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 06:28:59 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:  Awaiting Review
Component:  Database                |     Version:  3.3
 Severity:  minor                   |  Resolution:  fixed
 Keywords:  dev-feedback has-patch  |
------------------------------------+------------------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [21473]:
 {{{
 #!CommitTicketReference repository="" revision="21473"
 Declare, document, and protect $dbuser, $dbpassword, $dbname, $dbhost and
 $dbh in wpdb.

 These properties, while protected, are still accessible thanks to the
 magic getter added in [21472].

 props pento, nvartolomei, joelhardi. fixes #18510.
 }}}

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


More information about the wp-trac mailing list