[wp-trac] [WordPress Trac] #31328: Emoji in a slug fails to display
WordPress Trac
noreply at wordpress.org
Sat Feb 14 04:31:22 UTC 2015
#31328: Emoji in a slug fails to display
----------------------------+-----------------------------
Reporter: kraftbj | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: trunk
Severity: normal | Keywords:
Focuses: |
----------------------------+-----------------------------
When using emoji in a place that generates a slug (category name, post
title, etc), if the emoji is saved to the database as HTML entities, it
will fail to display in the UI.
Example: Save a draft/publish with post title is "WordPress
{sparkling_heart emoji} Emoji".
URL/slug will be "wordpress-%f0%9f%92-emoji"
On post.php, the slug will not display: https://cloudup.com/cASF4rxUNhF
Second example: Save a new category with the name being an emoji.
Slug is saved to the db in the HTML entity format ("%f0%9f%92").
On edit-terms.php, no slug will be displayed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31328>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list