[wp-trac] [WordPress Trac] #32154: Don't upgrade global tables for utf8mb4

WordPress Trac noreply at wordpress.org
Fri Jul 3 04:35:19 UTC 2015


#32154: Don't upgrade global tables for utf8mb4
--------------------------+-----------------------
 Reporter:  ocean90       |       Owner:  dd32
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.2.3
Component:  Database      |     Version:  4.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------
Changes (by dd32):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 4.2 fixes can just be the defines, no need to backport the function IMHO.

 I altered the patch from @johnjamesjacoby slightly by restoring some
 missing checks in the changes, and renamed it from
 `wp_can_upgrade_global_tables` to `wp_should_upgrade_global_tables` -
 WordPress '''can''' upgrade the tables, but it '''shouldn't'''.

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


More information about the wp-trac mailing list