Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#42705 closed defect (bug) (fixed)

Theme editor nonce should be based on the relative file path

Reported by: dd32's profile dd32 Owned by: dd32's profile dd32
Milestone: 5.1 Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: Cc:


Currently the theme editor nonce is based on the full file path of the files, for example:


It'll make much more sense when debugging code if it's based on the relative path, which is how we validate it in the rest of the code:


Noticed from #42609

Change History (2)

#1 @dd32
7 years ago

  • Owner set to dd32
  • Resolution set to fixed
  • Status changed from new to closed

In 42246:

Theme Editior: Base the nonce on a simpler combination of fields, for easier debugging & reading.

See #42609.
Fixes #42705.

#2 @johnbillion
6 years ago

  • Milestone changed from 5.0 to 5.1
Note: See TracTickets for help on using tickets.