WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#2765 closed defect (bug) (fixed)

DBX unnecessarily loaded when editing comments.

Reported by: mdawaffe Owned by: 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 (1)

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

Download all attachments as: .zip

Change History (3)

mdawaffe7 years ago

comment:1 mdawaffe7 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.

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