[wp-trac] [WordPress Trac] #37956: DB_COLLATE doesn't override $collate when defining utf8mb4_unicode_ci in wp-config

WordPress Trac noreply at wordpress.org
Thu Sep 29 16:40:12 UTC 2016


#37956: DB_COLLATE doesn't override $collate when defining utf8mb4_unicode_ci in
wp-config
--------------------------+----------------------
 Reporter:  MikeGillihan  |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Database      |     Version:  4.6
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |     Focuses:
--------------------------+----------------------

Comment (by discern):

 Replying to [comment:1 pento]:
 > The workaround for this is to either have your development and
 production environments match, or to include a step in your data migration
 process to change the collation.

 This is frustrating. May I suggest a constant that would override the
 override? Something like:

 wp-config.php

 {{{
 define('DB_COLLATE_OVERRIDE', [true|false]); // default true
 }}}

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


More information about the wp-trac mailing list