Opened 9 months ago
Closed 9 months ago
#21777 closed enhancement (fixed)
Replace multiple wp_enqueue_script() calls in nav-menus.php with dependencies
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Menus | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
Replying to nacin:
Looking at wp-admin/nav-menus.php, looks like a lot of those lines should be removed in favor of dependencies.
Attachments (1)
Change History (4)
SergeyBiryukov — 9 months ago
comment:1
SergeyBiryukov — 9 months ago
- Milestone changed from Awaiting Review to 3.5
Note that postbox.js has jquery-ui-sortable as a dependency, but I am leaving it in 21777.patch because sortable is also used on that screen for the nav menus, not just postboxes.
Note: See
TracTickets for help on using
tickets.

Didn't include 'common', since it's already enqueued in admin.php:
http://core.trac.wordpress.org/browser/tags/3.4.1/wp-admin/admin.php#L81