Opened 14 years ago
Closed 14 years ago
#21777 closed enhancement (fixed)
Replace multiple wp_enqueue_script() calls in nav-menus.php with dependencies
| Reported by: | SergeyBiryukov | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Menus | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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
@
14 years ago
- Milestone Awaiting Review → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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