WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 6 months ago

#32868 new defect (bug)

Consider running utf8mb4 conversion on each database update

Reported by: dd32 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Database Keywords: needs-patch
Focuses: Cc:
PR Number:

Description

As mentioned in #32127 and elsewhere, we should run the utf8 -> utf8mb4 conversion on each db update.

The main reason is that the server environment could change between updates.
For example, if someone upgrades MySQL between 4.3 and 4.4's release, at present they'll update to 4.4 and still not have utf8mb4 support, even though WordPress will now be able to support it.

Change History (1)

#1 @dd32
4 years ago

Through #32127 utf8 -> utf8mb4 conversion will be re-run if need be during both 4.2.3 and 4.3.

The question remaining, is do we perform these in the future as well. Do we do it on every db upgrade? only the major ones? etc.

Note: See TracTickets for help on using tickets.