[wp-trac] [WordPress Trac] #41109: WordPress Core Js File Seems Infected
WordPress Trac
noreply at wordpress.org
Wed Jun 21 05:08:07 UTC 2017
#41109: WordPress Core Js File Seems Infected
-------------------------------+------------------------------
Reporter: 756dk | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Emoji | Version:
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Changes (by pento):
* keywords: => reporter-feedback
* version: 4.8 =>
Comment:
Hi @756dk, thank you for the bug report!
This JavaScript file is correct, it's produced during our build process,
by combining and minifying [source:trunk/src/wp-includes/js/wp-emoji.js
wp-emoji.js] and [source:trunk/src/wp-includes/js/twemoji.js twemoji.js].
We minify all JS files that are used in production.
As for the `NS_ERROR_UNEXPECTED` JavaScript error you're seeing, this is a
generic error that Firefox throws, which unfortunately doesn't tell us
what's gone wrong. If you're able to reproduce this error, Firefox's dev
tools should be able to prettify the source and give us a better
indication of what line is triggering the error.
Alternatively, adding `define( 'SCRIPT_DEBUG', true );` to your `wp-
config.php` will use the development versions of the files, which will
give us the original line number. This can occasionally stop the bug from
occurring, though, if it's some sort of race condition.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41109#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list