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: jczorkmid Owned by:
Priority: normal Milestone: 3.1
Component: Administration Version: 3.1
Severity: normal Keywords: has-patch
Cc:

Attachments (2)

script-loader.diff (586 bytes) - added by jczorkmid 2 years ago.
patch
15830.diff (594 bytes) - added by JohnPBloch 2 years ago.

Download all attachments as: .zip

Change History (7)

patch

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 3.1
  • 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.

  • Keywords has-patch added

comment:5   ryan2 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [17000]) Add jquery and utils dependencies for editor js. Props JohnPBloch, jczorkmid. fixes #15830

Note: See TracTickets for help on using tickets.