[wp-trac] [WordPress Trac] #35300: Clean up emoji compatibility code
WordPress Trac
noreply at wordpress.org
Mon Jan 4 04:00:45 UTC 2016
#35300: Clean up emoji compatibility code
----------------------------+-------------------
Reporter: pento | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 4.5
Component: General | Version:
Severity: normal | Keywords: emoji
Focuses: |
----------------------------+-------------------
The code in `wp-emoji-loader.js` is fairly messy, and it's kind of
annoying to have to remember to update several places when a new test is
added (for example, we'll need a new test when Unicode 9 lands later in
the year).
Let's make it easier to read, and fix how `wp-emoji.js` uses the
`settings.supports` object, so that we don't have to keep updating it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35300>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list