Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#4598 closed defect (bug) (wontfix)

jquery script not queued in post editing page.

Reported by: olivm's profile olivm 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)

4598.diff (375 bytes) - added by Nazgul 19 years ago.

Download all attachments as: .zip

Change History (5)

@Nazgul
19 years ago

#1 @Nazgul
19 years ago

  • Keywords has-patch added

#2 @mdawaffe
19 years ago

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.

#3 @ryan
19 years ago

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

#4 @foolswisdom
19 years ago

  • Milestone 2.3 deleted
Note: See TracTickets for help on using tickets.