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

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 14 20:26:05 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:  has-patch    |
-------------------------+---------------------
Changes (by nacin):

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


Comment:

 In [21512]:
 {{{
 #!CommitTicketReference repository="" revision="21512"
 Add magic set, isset, and unset to wpdb. props pento.

 These magic methods allow us to mark properties as protected or private,
 without breaking compatibility, as they were once accessible. The joys of
 PHP4.

 fixes #18510.
 }}}

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


More information about the wp-trac mailing list