Opened 12 years ago
Closed 12 years ago
#21777 closed enhancement (fixed)
Replace multiple wp_enqueue_script() calls in nav-menus.php with dependencies
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Menus | Keywords: | has-patch |
Focuses: | 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)
#2
@
12 years 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 inadmin.php
:http://core.trac.wordpress.org/browser/tags/3.4.1/wp-admin/admin.php#L81