Make WordPress Core

Changeset 42601


Ignore:
Timestamp:
01/24/2018 09:54:58 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Emoji: Update Emoji browser support tests for Twemoji v2.4.0

Replaces the fairy (male) browser support test with a woman in business suit levitating. While the things that make people different sometimes become less obvious this isn't always a problem, because the things that make you strange are the things that make you powerful.

Props peterwilsoncc.
Merges [42598] to the 4.9 branch.
Fixes #42862.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-includes/js/wp-emoji-loader.js

    r41669 r42601  
    8989            case 'emoji':
    9090                /*
    91                  * Emoji 5 has fairies of all genders.
     91                 * Emoji allows people of all gender levitate and so does WordPress.
    9292                 *
    93                  * To test for support, try to render a new emoji (fairy, male), then compares
    94                  * it to how it would look if the browser doesn't render it correctly
    95                  * (fairy + male sign).
     93                 * To test for support, try to render a new emoji (woman in business suit levitating),
     94                 * then compare it to how it would look if the browser doesn't render it correctly
     95                 * (person in business suit levitating + female sign).
    9696                 */
    9797                isIdentical = emojiSetsRenderIdentically(
Note: See TracChangeset for help on using the changeset viewer.