[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:16:39 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 fixed-major  |     Focuses:
-----------------------------------+---------------------
Changes (by pento):

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


Comment:

 In [changeset:"38440"]:
 {{{
 #!CommitTicketReference repository="" revision="38440"
 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.

 Merge of [38439] to the 4.6 branch.

 Props Frozzare.
 Fixes #37683.
 }}}

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


More information about the wp-trac mailing list