[wp-trac] [WordPress Trac] #37683: $collate and $charset can be undefined in wpdb::init_charset()

WordPress Trac noreply at wordpress.org
Tue Aug 30 07:13:34 UTC 2016


#37683: $collate and $charset can be undefined in wpdb::init_charset()
--------------------------+---------------------
 Reporter:  robsat91      |       Owner:  pento
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.6.1
Component:  Database      |     Version:  4.6
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------
Changes (by pento):

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


Comment:

 In [changeset:"38439"]:
 {{{
 #!CommitTicketReference repository="" revision="38439"
 Database: Ensure that variables are defined correctly.

 There were some cases where some local variables in `wpdb::init_charset()`
 could be undefined when they were used.

 Props Frozzare.
 Fixes #37683 for trunk.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37683#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list