[wp-trac] [WordPress Trac] #24821: Quiet jQuery Migrate
WordPress Trac
noreply at wordpress.org
Wed Jul 24 06:39:40 UTC 2013
#24821: Quiet jQuery Migrate
----------------------------+---------------------
Reporter: nacin | Owner: nacin
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 3.6
Component: Export | Version:
Severity: normal | Resolution: fixed
Keywords: |
----------------------------+---------------------
Comment (by nacin):
Replying to [comment:3 TobiasBg]:
> Replying to [comment:1 nacin]:
> > We could possibly just also bundle the un-minified jQuery Migrate file
and use it when WP_DEBUG. I think that would actually be well worth the 16
KB.
>
> Is that really that helpful, if jQuery ("core") is minified (which it is
even with SCRIPT_DEBUG)?
Yes. jQuery Migrate will print warnings (and backtraces) in the console.
Any code that triggers it will be highlighted as a problem for how they
use jQuery. The internals of jQuery are not really at issue.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24821#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list