[wp-trac] [WordPress Trac] #31328: Emoji in a slug fails to display

WordPress Trac noreply at wordpress.org
Mon Mar 16 09:14:15 UTC 2015


#31328: Emoji in a slug fails to display
------------------------------+-----------------------------
 Reporter:  kraftbj           |       Owner:  pento
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  4.2
Component:  Formatting        |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  administration
------------------------------+-----------------------------

Comment (by sciamannikoo):

 I see @boonebgorges proposed patch which seems to go to the right
 direction.

 The problem of unique names, rather than slugs, will cause issues to a
 fairly good amount of users relying on plugins such as WPML, to handle
 translatable taxonomies.

 Think for instance to the "Hotel" term in a theoretical "Accommodations"
 category.
 The word "Hotel" is used in many languages.
 It would make sense and would be acceptable to have a different slug for
 every language (e.g. hotel, hotel-fr, hotel-it, etc.), but would make very
 little sense, if people have to think a nice way to translate the same
 word, when displayed in front-end.

 Without a fix like the one proposed by @boonebgorges many people already
 using duplicated term names, will be negatively affected.

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


More information about the wp-trac mailing list