[wp-trac] [WordPress Trac] #32127: Broken support for utf8mb4 with the mysql extension

WordPress Trac noreply at wordpress.org
Sat May 16 00:32:51 UTC 2015


#32127: Broken support for utf8mb4 with the mysql extension
-------------------------------------+--------------------
 Reporter:  kovshenin                |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  high                     |   Milestone:  4.2.3
Component:  Database                 |     Version:  4.2.2
 Severity:  major                    |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+--------------------
Changes (by BearlyDoug):

 * severity:  critical => major


Comment:

 On Wordpress 4.2.2, there was a double issue when trying to add a site
 into a brand new freshly configured WP Installation. Through Chris'
 research in Ticket #32308, which pointed me here, I was able to fix my WP
 installation.

 That being said, [attachment:32127.3.diff] probably needs to be adjusted
 to account for Wordpress 4.2.2. The fix indicated for line 530 needs to be
 changed to start on line 536.

 Lines 527 through lines 535 in src/wp-admin/includes/upgrade.php are
 quoted below:

 >        // Don't harsh my mellow. upgrade_422() must be called before
 >        // upgrade_420() to catch bad comments prior to any auto-
 expansion of
 >        // MySQL column widths.
 >        if ( $wp_current_db_version < 31534 )
 >                upgrade_422();
 >
 >        if ( $wp_current_db_version < 31351 )
 >                upgrade_420();
 >

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


More information about the wp-trac mailing list