[wp-trac] [WordPress Trac] #60362: Emojis cause "Updating failed. Could not update post in the database." error

WordPress Trac noreply at wordpress.org
Sat Nov 1 03:33:15 UTC 2025


#60362: Emojis cause "Updating failed. Could not update post in the database."
error
-------------------------------------------------+-------------------------
 Reporter:  mikefitzman                          |       Owner:
                                                 |  westonruter
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.9
Component:  Database                             |     Version:  4.2
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-test-info needs-testing has-     |     Focuses:
  patch commit                                   |
-------------------------------------------------+-------------------------
Changes (by westonruter):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"61110" 61110]:
 {{{
 #!CommitTicketReference repository="" revision="61110"
 Emoji: Convert emoji to HTML entities for `utf8mb3` columns during
 `wp_insert_post()`.

 The `utf8` character set is a deprecated alias of `utf8mb3`, but only the
 former was accounted for.

 Follow-up to [31733].

 Props kasparsd, mikefitzman, dmsnell, salzano, sabernhardt, ankit-k-gupta,
 nataliat2004, josklever, slaFFik, staurand.
 See #31242, #21212.
 Fixes #60362.
 }}}

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


More information about the wp-trac mailing list