Opened 9 years ago
Closed 8 years ago
#33122 closed defect (bug) (wontfix)
DB_CHARSET in config should be set to utf8mb4 if mysql version >5.5.3
Reported by: | laserjobs | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Database | Keywords: | |
Focuses: | Cc: |
Description
Currently if the database has been converted to utf8mb4, wp-config is still set for creating new tables as utf8
/ Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');
Looks like it was addressed here at one time
https://core.trac.wordpress.org/attachment/ticket/21212/21212-utf8mb4.diff
Change History (2)
#2
@
8 years ago
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
- Version 4.2.3 deleted
On new WordPress installs, DB_CHARSET
will be set to utf8mb4
.
On existing WordPress installs, WordPress will automatically upgrade the tables to utf8mb4
, and when DB_CHARSET
is defined as utf8
, it will automatically switch to utf8mb4
instead.
DB_CHARSET
is left as utf8
in wp-config.php
, because WordPress doesn't write to wp-config.php
outside of the setup process.
Note: See
TracTickets for help on using
tickets.
Related: #32405