Ticket #37982: 37982.diff
File 37982.diff, 573 bytes (added by , 8 years ago) |
---|
-
src/wp-includes/wp-db.php
779 779 $charset = 'utf8mb4'; 780 780 } 781 781 782 if ( 'utf8mb4' === $charset && ! $this->has_cap( 'utf8mb4' ) ) { 783 $charset = 'utf8'; 784 $collate = str_replace( 'utf8mb4_', 'utf8_', $collate ); 785 } 786 782 787 if ( 'utf8mb4' === $charset ) { 783 788 // _general_ is outdated, so we can upgrade it to _unicode_, instead. 784 789 if ( ! $collate || 'utf8_general_ci' === $collate ) {