Opened 16 months ago
Closed 16 months ago
#8928 closed defect (bug) (fixed)
Emoji's being stripped from message subject in REST API
Reported by: | niftythree | Owned by: | imath |
---|---|---|---|
Milestone: | 12.0.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | REST API | Keywords: | has-patch |
Cc: |
Description
Hi there,
We've been using the BuddyPress REST API through our app to provide messaging for our users, and it's been working great so far.
One peculiar thing we've picked up on recently, is that if there are emojis in the subject line of a message, it does not get delivered by the REST API (i.e. the emojis are removed).
In the attached image ("subject 1") from the website, Jone has received a message from Ana with emojis in the subject, and it appears correctly on the website. However, if we access Jone's inbox using the BuddyPress REST API, we can see that the emojis have been stripped out from the subject field.
Is there a configuration or setting that may be causing this, or would this be a bug?
Thanks.
Attachments (2)
Change History (5)
This ticket was mentioned in PR #123 on buddypress/buddypress by @imath.
16 months ago
#2
- Keywords has-patch added; needs-patch removed
wp_staticize_emoji
callback.Trac ticket: https://buddypress.trac.wordpress.org/ticket/8928