#4598 closed defect (bug) (wontfix)
jquery script not queued in post editing page.
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 2.3 |
| Component: | Administration | Keywords: | has-patch |
| Focuses: | Cc: |
Description
the jquery scripts are not enqueued in the post editing page.
but they are enqueued in post-new...
--- /home/oliv/workspace/wordpress/wp-admin/post.php (revision 5790)
+++ /home/oliv/workspace/wordpress/wp-admin/post.php (working copy)
@@ -55,6 +55,7 @@
if($post->post_status == 'draft') {
wp_enqueue_script('prototype');
+ wp_enqueue_script('interface');
wp_enqueue_script('autosave');
}
require_once('admin-header.php');
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
I don't think we need jQuery or interface on either of those pages. Correct me if I'm wrong, somebody.
Plugins can load jQuery if they need to (plugins loading JS should be using
wp_enqueue_script()anyway), but core should load as little JS as possible.