[wp-trac] [WordPress Trac] #43654: Silence "JQMIGRATE: Migrate is installed with logging active, version x.y.z"
WordPress Trac
noreply at wordpress.org
Thu Mar 29 00:24:22 UTC 2018
#43654: Silence "JQMIGRATE: Migrate is installed with logging active, version
x.y.z"
--------------------------+------------------------------
Reporter: markjaquith | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: Awaiting Review
Component: General | Version:
Severity: trivial | Resolution:
Keywords: | Focuses: javascript
--------------------------+------------------------------
Comment (by netweb):
Replying to [comment:2 netweb]:
> The only way I see to silence the warning is to ''roll-our-own'', we can
modify [https://core.trac.wordpress.org/browser/trunk/src/wp-
includes/js/jquery/jquery-migrate.js#L21 src/wp-includes/js/jquery/jquery-
migrate.js#L21] (and minimize this version) to replace it with the
[https://github.com/jquery/jquery-
migrate/blob/7fcf44ae2083c12e9a7a48d632379bf8e6c50505/src/migrate.js#L7-L15
previous jquery-migrate code]
Note: As part of #43055 for WP 5.0 the plan is to pull jquery-migrate into
WordPress via npm, as such we'd want to fork `jquery-migrate` for these
changes so that npm can pull in our custom fork.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43654#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list