Emoji: The :roll:
smiley is now an emoji.
Unicode 8 added `U+1F644`, "Face with Rolling Eyes", which matches our `:roll:` smiley. Continuing our ever present quest to rid the world of legacy smilies, we now translate that smiley into its emoji form. Sadly, `:mrgreen:` remains sorely under-represented in the Unicode standard, I'm inclined to think that we should buy a voting membership of the Unicode Consortium, in order to rectify that situation. (Personally, I'm hoping for a green skin tone modifier.) Fixes #36365. git-svn-id: https://develop.svn.wordpress.org/trunk@37296 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9a4c6dc3de
commit
74e88010c0
@ -3224,7 +3224,7 @@ function smilies_init() {
|
|||||||
':idea:' => "\xf0\x9f\x92\xa1",
|
':idea:' => "\xf0\x9f\x92\xa1",
|
||||||
':oops:' => "\xf0\x9f\x98\xb3",
|
':oops:' => "\xf0\x9f\x98\xb3",
|
||||||
':razz:' => "\xf0\x9f\x98\x9b",
|
':razz:' => "\xf0\x9f\x98\x9b",
|
||||||
':roll:' => 'rolleyes.png',
|
':roll:' => "\xf0\x9f\x99\x84",
|
||||||
':wink:' => "\xf0\x9f\x98\x89",
|
':wink:' => "\xf0\x9f\x98\x89",
|
||||||
':cry:' => "\xf0\x9f\x98\xa5",
|
':cry:' => "\xf0\x9f\x98\xa5",
|
||||||
':eek:' => "\xf0\x9f\x98\xae",
|
':eek:' => "\xf0\x9f\x98\xae",
|
||||||
|
@ -188,8 +188,8 @@ class Tests_Formatting_Smilies extends WP_UnitTestCase {
|
|||||||
"\xf0\x9f\x98\x8e \xf0\x9f\x98\x88"
|
"\xf0\x9f\x98\x8e \xf0\x9f\x98\x88"
|
||||||
),
|
),
|
||||||
array (
|
array (
|
||||||
'8O :twisted: :( :? :roll:',
|
'8O :twisted: :( :? :roll: :mrgreen:',
|
||||||
"\xf0\x9f\x98\xaf \xf0\x9f\x98\x88 \xf0\x9f\x99\x81 \xf0\x9f\x98\x95 <img src=\"{$includes_path}rolleyes.png\" alt=\":roll:\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" />"
|
"\xf0\x9f\x98\xaf \xf0\x9f\x98\x88 \xf0\x9f\x99\x81 \xf0\x9f\x98\x95 \xf0\x9f\x99\x84 <img src=\"{$includes_path}mrgreen.png\" alt=\":mrgreen:\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" />"
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user