Make WordPress Core

Ticket #42862: 42862-support-test.diff

File 42862-support-test.diff, 933 bytes (added by peterwilsoncc, 7 years ago)
  • src/wp-includes/js/wp-emoji-loader.js

    diff --git src/wp-includes/js/wp-emoji-loader.js src/wp-includes/js/wp-emoji-loader.js
    index 339b22119a..7dec09a568 100644
     
    8888                                return ! isIdentical;
    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(
    9898                                        [ 55358, 56794, 8205, 9794, 65039 ],