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

WordPress Trac noreply at wordpress.org
Sat Aug 20 07:43:20 UTC 2016


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

 * keywords:  needs-patch => has-patch


Comment:

 Attached a possible fix that only runs `determine_charset` when a charset
 and collate isset.

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


More information about the wp-trac mailing list