Ticket #2765 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

DBX unnecessarily loaded when editing comments.

Reported by: mdawaffe Assigned to: mdawaffe
Priority: normal Milestone: 2.1
Component: Administration Version: 2.1
Severity: normal Keywords: javascript has-patch commit
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

2765.diff (1.9 kB) - added by mdawaffe on 06/01/06 17:40:23.

Change History

06/01/06 17:40:23 changed by mdawaffe

  • attachment 2765.diff added.

06/01/06 17:42:47 changed by mdawaffe

  • keywords set to javascript has-patch commit.
  • 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.

06/01/06 21:51:24 changed by ryan

  • status changed from assigned to closed.
  • resolution set to fixed.

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