wpmdb_convert_to_520

wpmdb_convert_to_520

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wp-migrate-db.2.6.9

apply_filters('wpmdb_convert_to_520') is found 1 times:

  • /class/Common/Sql/TableHelper.php line 108

    if (version_compare($db_version, ‘5.6’, ‘<')) { // Convert utf8m4_unicode_520_ci collation to utf8mb4_unicode_ci if less than mysql 5.6 $create_table = str_replace('utf8mb4_unicode_520_ci', 'utf8mb4_unicode_ci', $create_table); $create_table = str_replace('utf8_unicode_520_ci', 'utf8_unicode_ci', $create_table); } elseif (apply_filters('wpmdb_convert_to_520', true)) { $create_table = str_replace('utf8mb4_unicode_ci', 'utf8mb4_unicode_520_ci', $create_table); $create_table = str_replace('utf8_unicode_ci', 'utf8_unicode_520_ci', $create_table); } if (version_compare($db_version, '5.5.3', '<')) { // Remove index comments introduced in MySQL 5.5.3. [/php]