Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#2765 closed defect (bug) (fixed)

DBX unnecessarily loaded when editing comments.

Reported by: mdawaffe's profile mdawaffe Owned by: mdawaffe's profile mdawaffe
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.1
Component: Administration Keywords: javascript has-patch commit
Focuses: Cc:

Description

This generates a JS error since changing over to the WP_Scripts method of setting the dbx-key.

Additionally, adding and editing links unnecessarily loads TinyMCE.

Patch attoched to improve page load times.

Attachments (1)

2765.diff (1.9 KB) - added by mdawaffe 18 years ago.

Download all attachments as: .zip

Change History (3)

@mdawaffe
18 years ago

#1 @mdawaffe
18 years ago

  • Keywords javascript has-patch commit added
  • Owner changed from anonymous to mdawaffe
  • Status changed from new to assigned

2765.diff

  1. Comment and link editing now have $editing = false and load their JS directly.
  2. dbx-admin-key exits if it does't recognize the pagenow parameter.

#2 @ryan
18 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [3830]) Script loader fixes from mdawaffe. fixes #2765

Note: See TracTickets for help on using tickets.