Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#4598 closed defect (bug) (wontfix)

jquery script not queued in post editing page.

Reported by: olivm Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.3
Component: Administration Keywords: has-patch
Focuses: Cc:


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('interface');



Attachments (1)

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

Download all attachments as: .zip

Change History (5)

@Nazgul8 years ago

comment:1 @Nazgul8 years ago

  • Keywords has-patch added

comment:2 @mdawaffe8 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.

comment:3 @ryan8 years ago

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

comment:4 @foolswisdom8 years ago

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