[wp-trac] [WordPress Trac] #35293: Emoji Regex in wp_encode_emoji() is wildly inaccurate
WordPress Trac
noreply at wordpress.org
Fri Jul 14 08:13:21 UTC 2017
#35293: Emoji Regex in wp_encode_emoji() is wildly inaccurate
-----------------------------------+-----------------------
Reporter: pento | Owner: pento
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.8.1
Component: Emoji | Version: 4.2
Severity: normal | Resolution:
Keywords: has-patch fixed-major | Focuses:
-----------------------------------+-----------------------
Comment (by ocean90):
Micro-optimization: `_wp_staticize_emoji()` now calls the two filters for
each emoji, previously it was just once for the whole `$text`. Should it
be cached in a static variable?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35293#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list