[wp-trac] [WordPress Trac] #32105: Database collate should be utf8mb4_unicode_520_ci

WordPress Trac noreply at wordpress.org
Fri Apr 24 10:35:04 UTC 2015


#32105: Database collate should be utf8mb4_unicode_520_ci
--------------------------+------------------------------
 Reporter:  miyauchi      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  4.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by miyauchi):

 Oh sorry...


 {{{
 <?php

 class SampleTest extends WP_UnitTestCase {

         /**
          * @test
          */
         function utf8_test()
         {
                 global $wp_version;
                 global $wpdb;

                 $this->assertSame( '4.2', $wp_version );

                 // post_title is sushi
                 $post_id = $this->factory->post->create( array(
 'post_title' => '

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32105#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list