[wp-trac] [WordPress Trac] #21212: MySQL tables should use utf8mb4 character set

WordPress Trac noreply at wordpress.org
Fri Jan 23 07:43:56 UTC 2015


#21212: MySQL tables should use utf8mb4 character set
----------------------------+-----------------------
 Reporter:  pento           |       Owner:
     Type:  task (blessed)  |      Status:  reopened
 Priority:  normal          |   Milestone:  4.2
Component:  Database        |     Version:  3.4.1
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+-----------------------

Comment (by pento):

 [attachment:21212-utf8mb4.6.diff] adds an extra sanity check to
 `wpdb::init_charset()`.

 Historically, it hasn't required a DB connection to be called, but now
 requires a connection to check for `utf8mb4` compatibility.
 [attachment:21212-utf8mb4.6.diff] allows it to be called without a
 connection, which reverts it to the old behaviour of not checking for
 `utf8mb4` compatibility.

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


More information about the wp-trac mailing list