Ticket #21212: 21212-utf8mb4.diff

File 21212-utf8mb4.diff, 909 bytes (added by pento, 11 months ago)
  • wp-config-sample.php

     
    2828define('DB_HOST', 'localhost'); 
    2929 
    3030/** Database Charset to use in creating database tables. */ 
    31 define('DB_CHARSET', 'utf8'); 
     31if ( version_compare(mysql_get_server_info(), '5.5.3', '>=') ) 
     32        define('DB_CHARSET', 'utf8mb4'); 
     33else 
     34        define('DB_CHARSET', 'utf8'); 
    3235 
    3336/** The Database Collate type. Don't change this if in doubt. */ 
    3437define('DB_COLLATE', ''); 
  • wp-includes/version.php

     
    1111 * 
    1212 * @global int $wp_db_version 
    1313 */ 
    14 $wp_db_version = 20596; 
     14$wp_db_version = 20597; 
    1515 
    1616/** 
    1717 * Holds the TinyMCE version