Opened 2 years ago
Closed 2 years ago
#15830 closed defect (bug) (fixed)
'editor' script depends on jQuery, but doesn't register it as a dependency
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | Administration | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
source:/trunk/wp-admin/js/editor.js@16394#L1 (source:/trunk/wp-admin/js/editor.dev.js@16394#L2) relies on jQuery, but it doesn't register it as a dependency in source:/trunk/wp-includes/script-loader.php@16943#L94
Attachments (2)
Change History (7)
comment:3
JohnPBloch — 2 years ago
- Keywords has-patch removed
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.
JohnPBloch — 2 years ago
comment:4
JohnPBloch — 2 years ago
- Keywords has-patch added
Note: See
TracTickets for help on using
tickets.

patch