Changeset 37521 for trunk/src/wp-includes/wp-db.php
- Timestamp:
- 05/23/2016 05:53:02 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/wp-db.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r37518 r37521 758 758 } 759 759 760 if ( 'utf8mb4' === $this->charset && ( ! $this->collate || stripos( $this->collate, 'utf8_' ) === 0 ) ) { 761 $this->collate = 'utf8mb4_unicode_ci'; 760 if ( 'utf8mb4' === $this->charset ) { 761 // _general_ is outdated, so we can upgrade it to _unicode_, instead. 762 if ( ! $this->collate || 'utf8_general_ci' === $this->collate ) { 763 $this->collate = 'utf8mb4_unicode_ci'; 764 } else { 765 $this->collate = str_replace( 'utf8_', 'utf8mb4_', $this->collate ); 766 } 762 767 } 763 768 }
Note: See TracChangeset
for help on using the changeset viewer.