Opened 22 months ago
Closed 20 months ago
#18403 closed defect (bug) (fixed)
Cache ajax nonce in internal linking
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.3 |
| Component: | Editor | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
Every time we make an internal linking query, we lookup $('#_ajax_linking_nonce').val(). It's super fast, but why not just check it once?
Attachments (1)
Change History (5)
mitchoyoshitaka — 22 months ago
comment:2
SergeyBiryukov — 22 months ago
- Milestone changed from Awaiting Review to 3.3
- Owner changed from koopersmith to nacin
- Status changed from new to accepted
- Type changed from enhancement to defect (bug)
autosave recycles nonces for us if they're in their last legs. We should do the same here.
Note: See
TracTickets for help on using
tickets.

inputs.nonce might be cleaner.