[wp-trac] [WordPress Trac] #15830: 'editor' script depends on jQuery, but doesn't register it as a dependency
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 15 20:31:04 UTC 2010
#15830: 'editor' script depends on jQuery, but doesn't register it as a dependency
----------------------------+------------------
Reporter: jczorkmid | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Administration | Version: 3.1
Severity: normal | Resolution:
Keywords: |
----------------------------+------------------
Changes (by JohnPBloch):
* keywords: has-patch =>
Comment:
Just tested the patch. In Chrome on Mac I got this error when enqueueing
editor.js:
{{{
Uncaught ReferenceError: wpCookies is not defined
}}}
Adding `'utils'` as an extra dependency fixes the error. Patch coming in a
second.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15830#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list