[wp-trac] [WordPress Trac] #41405: Only output Emoji JS when emoji used on page
WordPress Trac
noreply at wordpress.org
Sat Jul 22 09:15:59 UTC 2017
#41405: Only output Emoji JS when emoji used on page
--------------------------+-----------------------------
Reporter: jhabdas | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Currently Core supports Emoji characters. Emoji are great, but not when
they require an external asset request when none are used on a page.
This issue is to update Core to prevent the external JS request for the
following:
{{{
/wp-includes/js/wp-emoji-release.min.js?ver=4.8
}}}
...when no Emoji is used on the page.
This should be considered a bug and not an enhancement as I wouldn't
consider something feature complete if it adds page weight when not in
use.
Orthogonal benefit of fixing this bug is limiting the need for the plug-
ins arising to suppress the output of this script, thereby improving
overall WP security and end-user experience.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41405>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list