[wp-trac] [WordPress Trac] #37815: PHP Notice: Undefined variable: collate

WordPress Trac noreply at wordpress.org
Wed Aug 24 18:07:04 UTC 2016


#37815: PHP Notice:  Undefined variable: collate
--------------------------+-----------------------------
 Reporter:  Hax           |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Database      |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Since the $collate  is not defined.

 If the none of the conditions are met the  $collate variable is never set.
 This issue could also affect  $charset. I am not getting a php notice for
 $charset just yet only for $collate.

 [https://core.trac.wordpress.org/browser/trunk/src/wp-includes/wp-
 db.php#L752]

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37815>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list