[wp-trac] [WordPress Trac] #31242: Global Emoji Support

WordPress Trac noreply at wordpress.org
Fri Mar 13 13:23:42 UTC 2015


#31242: Global Emoji Support
------------------------------+-------------------------
 Reporter:  pento             |       Owner:  pento
     Type:  task (blessed)    |      Status:  assigned
 Priority:  normal            |   Milestone:  4.2
Component:  General           |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  javascript
------------------------------+-------------------------

Comment (by boonebgorges):

 [31733] broke `Tests_Post::test_utf8mb3_post_saves_with_emoji()` for some
 setups. Here's my local environment:

 {{{
 $ mysql --version
 mysql  Ver 15.1 Distrib 10.0.17-MariaDB, for Linux (x86_64) using readline
 5.1
 }}}

 At least in this specific case - where mariadb versioning differs from
 mysql - the problem traces in part to
 https://core.trac.wordpress.org/browser/trunk/src/wp-includes/wp-
 db.php?marks=2804#L2780. `$wpdb->has_cap( 'utf8mb4' )` is failing (even
 though my DB does in fact support utf8mb4), and this causes the test not
 to be skipped as it should (for reasons I have not dug into, but pento
 probably knows off the top of his head). I'm not sure why [31733] in
 particular broke this - I think it's the 'utf8' charset check in
 `wp_insert_post()`?

 In any case, it's happening on Travis as well: https://travis-
 ci.org/aaronjorbin/develop.wordpress/jobs/54178126

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


More information about the wp-trac mailing list