Changeset 37523
- Timestamp:
- 05/23/2016 06:31:44 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r37521 r37523 765 765 $this->collate = str_replace( 'utf8_', 'utf8mb4_', $this->collate ); 766 766 } 767 } 768 769 // _unicode_520_ is a better collation, we should use that when it's available. 770 if ( $this->has_cap( 'utf8mb4_520' ) && 'utf8mb4_unicode_ci' === $this->collate ) { 771 $this->collate = 'utf8mb4_unicode_520_ci'; 767 772 } 768 773 } … … 3194 3199 * @since 2.7.0 3195 3200 * @since 4.1.0 Support was added for the 'utf8mb4' feature. 3201 * @since 4.6.0 Support was added for the 'utf8mb4_520' feature. 3196 3202 * 3197 3203 * @see wpdb::db_version() … … 3232 3238 return version_compare( $client_version, '5.5.3', '>=' ); 3233 3239 } 3240 case 'utf8mb4_520' : // @since 4.6.0 3241 return version_compare( $version, '5.6', '>=' ); 3234 3242 } 3235 3243
Note: See TracChangeset
for help on using the changeset viewer.