Opened 11 years ago
Closed 11 years ago
#32447 closed defect (bug) (invalid)
Emoji images replacing styled theme elements
| Reported by: | vashmyvindows | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Formatting | Version: | 4.2.2 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Since WordPress 4.2's addition of automatic front-end Emoji support, many UTF-8 icons used in the theme itself are replaced automatically, whether or not the designer had styled them specifically with a custom webfont. This tends to happen to glyphs that are already defined in the UTF-8 space, but are often replaced with theme-specific assets (magnifying glass, "location" pushpin, etc). Attached are examples of glyphs that were replaced in a basic webfont.
This doesn't apply to icons inserted using the CSS ::before/after pseudo-elements, only those that are part of the document.
I'm sure there's a good reason that Emoji support is applied to the entire front-end rather than just the the areas that seem to need it (content, titles, feeds, etc.), but that would alleviate the problem.

Sounds like expected behaviour to me. These are unicode characters that are commonly mapped to emojis.
I thought web fonts are supposed to use private use areas in the unicode range. Detecting if there are already styles applied to the characters seems like overkill to me.